PIbd-32.-Stroev-V.M.-COP/WinFormsLibrary1/WinFormsApp1/User.cs

33 lines
832 B
C#
Raw Normal View History

2024-10-14 19:54:00 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WinFormsApp1
{
internal class User
{
public int Id { get; set; }
public string Status { get; set; }
public string Name { get; set; }
public string Familia { get; set; }
public int Age { get; set; }
public string Department { get; set; }
public double Salary { get; set; }
public User() { }
public User(int id, string status, string name, string familia, int age, string department, double salary)
{
Id = id;
Status = status;
Name = name;
Familia = familia;
Age = age;
Department = department;
Salary = salary;
}
}
}