33 lines
832 B
C#
33 lines
832 B
C#
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;
|
|
}
|
|
|
|
}
|
|
}
|