using System.ComponentModel; namespace WinFormsApp { public class TableEmployee { [DisplayName("ID")] public int ID { get; set; } [DisplayName("Имя")] public string Name { get; set; } [DisplayName("Фамилия")] public string SurName { get; set; } [DisplayName("Возраст")] public int Age { get; set; } [DisplayName("Место работы")] public string WorkPlace { get; set; } [DisplayName("Должность")] public string WorkPost { get; set; } [DisplayName("Зарплата")] public double Salary { get; set; } public TableEmployee(int id, string name, string surname, int age, string workPlace, string workPost, double salary) { ID = id; Name = name; SurName = surname; Age = age; WorkPlace = workPlace; WorkPost = workPost; Salary = salary; } } }