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