PIbd-42_Kashin_M.I_CPO_Cour.../Model/Employee.cs

21 lines
629 B
C#

using System;
using System.Collections.Generic;
namespace EmployeeManager.Model
{
public class Employee
{
public int Id { get; set; }
public string NameJob { get; set; } = string.Empty;
public DateTime StartJob { get; set; }
public DateTime? EndJob { get; set; }
public string? PartTimeJob { get; set; }
public float Bid { get; set; }
public int? PhysicalPersonsId { get; set; }
public virtual PhysicalPerson? PhysicalPersons { get; set; }
public List<Salary> Salarys { get; set; }
public List<Vacation> Vacations { get; set; }
}
}