ISEbd-21_Sharonov_I_A_Proje.../ProjectAirline/Entities/PreparatoryWork.cs

31 lines
749 B
C#
Raw Normal View History

2024-11-26 01:43:42 +04:00
using ProjectAirline.Entities.Enums;
using System;
2024-10-30 11:13:10 +04:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectAirline.Entities;
public class PreparatoryWork
{
2024-11-26 01:43:42 +04:00
public int Id { get; private set; }
2024-10-30 11:13:10 +04:00
2024-11-26 01:43:42 +04:00
public DateTime StartDate { get; private set; }
public DateTime EndDate { get; private set; }
public PreparatoryWorkStatus Status { get; private set; }
public static PreparatoryWork CreatePrerapatoryWork(int id, DateTime StartDate, DateTime EndDate, PreparatoryWorkStatus Status)
{
return new PreparatoryWork
{
Id = id,
StartDate = StartDate,
EndDate = EndDate,
Status = Status
};
}
2024-10-30 11:13:10 +04:00
}