Files
SzmediTools/Szmedi.RvKits/Civil/RoomItem.cs
2025-09-16 16:06:41 +08:00

55 lines
1.3 KiB
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Szmedi.RvKits.Civil
{
public class RoomItem : ObservableObject
{
private string inputValue;
[Column("Id")]
public int Id { get; set; }
[Column("Necessity")]
public int Necessity { get; set; }
/// <summary>
/// 站层
/// </summary>
[Column("Level")]
public string Level { get; set; }
/// <summary>
/// 单独的变电所
/// </summary>
[Column("UnitProject")]
public string UnitProject { get; set; }
[Column("Name")]
public string Name { get; set; }
[Column("MinArea")]
public string MinArea { get; set; }
[Column("MinEdgeLength")]
public string MinEdgeLength { get; set; }
[Column("Conditions")]
public string Conditions { get; set; }
[Column("DetailDescription")]
public string Description { get; set; }
[Column("LevelRequirement")]
public string LevelRequirement { get; set; }
[Column("InputValue")]
public string InputValue
{
get => inputValue;
set => SetProperty(ref inputValue, value);
}
public string Tips => $"布置要求:{Description};等级要求:{LevelRequirement}";
}
}