|
|
|
|
using System;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Entity.DbModel.Station
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///设备信息表
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("equip_info")]
|
|
|
|
|
public partial class EquipInfo
|
|
|
|
|
{
|
|
|
|
|
public EquipInfo(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
|
|
|
|
|
public int Id {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="code")]
|
|
|
|
|
public string Code {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备名称
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="name")]
|
|
|
|
|
public string Name {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备类型编码 0交流,1直流
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="type_code")]
|
|
|
|
|
public int? TypeCode {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备状态;0-未知;1-正常;2-报警;3-停用
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="status")]
|
|
|
|
|
public int? Status {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:创建人
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="created_by")]
|
|
|
|
|
public string CreatedBy {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:创建时间
|
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="created_time")]
|
|
|
|
|
public DateTime? CreatedTime {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:更新人
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="updated_by")]
|
|
|
|
|
public string UpdatedBy {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:更新时间
|
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="updated_time")]
|
|
|
|
|
public DateTime? UpdatedTime {get;set;}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|