using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WinForms { /// /// Сущность "Человек" /// public class Employee { /// /// Идентификатор /// public int Id { get; set; } /// /// Статус /// public string Status { get; set; } /// /// Имя /// public string Name { get; set; } /// /// Фамилия /// public string Surname { get; set; } /// /// Возраст /// public int Age { get; set; } /// /// Наличие детей /// public string Kids { get; set; } /// /// Наличие личного автомобиля /// public string Car { get; set; } /// /// Подразделение /// public string Department { get; set; } /// /// Должность /// public string Post { get; set; } /// /// Премия /// public double Prize { get; set; } /// /// Конструктор по умолчанию /// public Employee() { } /// /// Конструктор с параметрами /// /// /// /// /// /// /// /// /// /// /// public Employee(int id, string status, string name, string surname, int age, string kids, string car, string department, string post, double prize) { Id = id; Status = status; Name = name; Surname = surname; Age = age; Kids = kids; Car = car; Department = department; Post = post; Prize = prize; } } }