25 lines
601 B
C#
Raw Permalink Normal View History

2024-12-24 17:10:38 +04:00
using System;
using System.Collections.Generic;
2024-12-24 23:35:16 +04:00
using System.ComponentModel;
2024-12-24 17:10:38 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectRepairWork.Entities;
public class BuildingMaterials
{
public int Id { get; private set; }
2024-12-24 23:35:16 +04:00
[DisplayName("Название материала")]
2024-12-24 17:10:38 +04:00
public string MaterialsType { get; private set; } = string.Empty;
public static BuildingMaterials CreatEntity(int id, string materialType)
{
return new BuildingMaterials
{
Id = id,
MaterialsType = materialType,
};
}
}