28 lines
537 B
C#
28 lines
537 B
C#
|
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; }
|
|||
|
public int Count { get; private set; }
|
|||
|
|
|||
|
|
|||
|
public static RepairRepair CreatElement(int id, int workId, int count)
|
|||
|
{
|
|||
|
return new RepairRepair
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
WorkId = workId,
|
|||
|
Count = count,
|
|||
|
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
}
|