14 lines
362 B
C#
14 lines
362 B
C#
namespace ProductionInCehOTP.Entities;
|
|
|
|
public class PlanWork
|
|
{
|
|
public int Id { get; private set; }
|
|
public int Plan { get; private set; }
|
|
public DateTime Date { get; private set; } = DateTime.Now;
|
|
|
|
public PlanWork CreatePlanWork(int id, int Plan, DateTime date)
|
|
{
|
|
return new PlanWork { Id = id, Plan = Plan, Date = date };
|
|
}
|
|
}
|