24 lines
483 B
C#
Raw Permalink Normal View History

2024-11-25 01:31:46 +04:00
using System;
using System.Collections.Generic;
2024-12-24 23:35:16 +04:00
using System.ComponentModel;
2024-11-25 01:31:46 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectRepairWork.Entities;
public class Cost
{
public int Id { get; private set; }
2024-12-24 23:35:16 +04:00
[DisplayName("Цена")]
2024-11-25 01:31:46 +04:00
public int Price { get; private set; }
public static Cost CreatEntity(int id, int price)
{
return new Cost
{
Id = id,
Price = price
};
}
}