25 lines
601 B
C#
25 lines
601 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectRepairWork.Entities;
|
|
|
|
public class BuildingMaterials
|
|
{
|
|
public int Id { get; private set; }
|
|
[DisplayName("Название материала")]
|
|
public string MaterialsType { get; private set; } = string.Empty;
|
|
public static BuildingMaterials CreatEntity(int id, string materialType)
|
|
{
|
|
return new BuildingMaterials
|
|
{
|
|
Id = id,
|
|
MaterialsType = materialType,
|
|
};
|
|
}
|
|
}
|
|
|