21 lines
464 B
C#
21 lines
464 B
C#
using ProductionInCehOTP.Entities.Enums;
|
|
|
|
namespace ProductionInCehOTP.Entities;
|
|
|
|
public class ArrivalMaterials
|
|
{
|
|
public int Id { get; set; }
|
|
public DateTime Date { get; set; }
|
|
public string Name { get; set; }
|
|
|
|
public static ArrivalMaterials CreateArrivalMaterials(int id, DateTime date, string name )
|
|
{
|
|
return new ArrivalMaterials
|
|
{
|
|
Id = id,
|
|
Date = date,
|
|
Name = name,
|
|
};
|
|
}
|
|
}
|