KOP-PIbd-32-Katysheva-N-E/ComponentsLibrary/entities/Employee.cs
2024-10-28 20:23:38 +04:00

38 lines
968 B
C#

namespace ComponentsLibrary.entities
{
public class Employee
{
public string Status { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string Age { get; set; }
public string Childrens { get; set; }
public string Car { get; set; }
public string Post { get; set; }
public string Experience { get; set; }
public string Prize { get; set; }
public Employee(string status, string name, string surname, string age,string childrens,string car,string post,string experience,string prize)
{
Status = status;
Name = name;
Surname = surname;
Age = age;
Childrens = childrens;
Car = car;
Post = post;
Experience = experience;
Prize = prize;
}
public Employee() { }
public override string ToString()
{
string temp = Status + ", " + Name + ", " + Surname + ", " + Age + ", " + Childrens + ", " + Car + ", " + Post + ", " + Experience + ", " + Prize;
return temp;
}
}
}