using System; using System.Linq; using System.Text; using SqlSugar; namespace Entity.DbModel.Station { /// ///设备信息表 /// [SugarTable("equip_info")] public partial class EquipInfo : BaseModel { public EquipInfo(){ } /// /// Desc:id /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")] public int Id {get;set;} /// /// Desc:设备编码 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="code")] public string Code {get;set;} /// /// Desc:设备名称 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="name")] public string Name {get;set;} /// /// Desc:设备类型编码 0交流,1直流 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="type_code")] public int? TypeCode {get;set;} /// /// Desc:设备状态;0-未知;1-正常;2-报警;3-停用 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="status")] public int? Status {get;set;} /// /// Desc:0-手动;1-自动充电 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="auto_charge")] public int? AutoCharge {get;set;} /// /// 充电功率 /// [SugarColumn(ColumnName="charge_power")] public float? ChargePower { get; set; } /// /// 安装位置编号 /// [SugarColumn(ColumnName = "addr")] public int? Addr { get; set; } } }