2024-11-25 01:31:46 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ProjectRepairWork.Entities;
|
|
|
|
|
|
|
|
|
|
public class RepairRepair
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; private set; }
|
|
|
|
|
public int WorkId { get; private set; }
|
2024-12-24 17:10:38 +04:00
|
|
|
|
public int Count { get; set; }
|
2024-11-25 01:31:46 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static RepairRepair CreatElement(int id, int workId, int count)
|
|
|
|
|
{
|
|
|
|
|
return new RepairRepair
|
|
|
|
|
{
|
|
|
|
|
Id = id,
|
|
|
|
|
WorkId = workId,
|
|
|
|
|
Count = count,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|