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; } /// /// 站层 /// [Column("Level")] public string Level { get; set; } /// /// 单独的变电所 /// [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}"; } }