27 lines
713 B
C#
27 lines
713 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectRepairWork.Entities;
|
|||
|
|
|||
|
public class MaterialProcurement
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
public int MaterialsId { get; private set; }
|
|||
|
public DateTime ProcurmentDate { get; private set; }
|
|||
|
public int MaterialsPrice { get; private set; }
|
|||
|
|
|||
|
public static MaterialProcurement CreatOpertions(int id, int materialsId, int materialsPrice)
|
|||
|
{
|
|||
|
return new MaterialProcurement
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
MaterialsId = materialsId,
|
|||
|
ProcurmentDate = DateTime.Now,
|
|||
|
MaterialsPrice = materialsPrice,
|
|||
|
};
|
|||
|
}
|
|||
|
}
|