22 lines
570 B
C#
22 lines
570 B
C#
using EmployeeManagmentDataModels.Enums;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace EmployeeManagmentDataModels.Models
|
||
{
|
||
public class Vacation
|
||
{
|
||
public int Id { get; set; }
|
||
public DateTime StartData { get; set; }
|
||
public DateTime EndData { get; set; }
|
||
public VacationStatus Passed { get; set; }
|
||
public int EmployeeId { get; set; }
|
||
|
||
// Связь с сотрудником
|
||
public Employee? Employee { get; set; }
|
||
}
|
||
}
|