You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.3 KiB
84 lines
2.3 KiB
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using SqlSugar;
|
|
|
|
namespace Entity.DbModel.Station
|
|
{
|
|
///<summary>
|
|
///电池分组表
|
|
///</summary>
|
|
[SugarTable("battery_group")]
|
|
public partial class BatteryGroup
|
|
{
|
|
public BatteryGroup(){
|
|
|
|
|
|
}
|
|
/// <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="battery_no")]
|
|
public string BatteryNo {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:电池分组编号
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="group")]
|
|
public int? Group {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:电池分组数量
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="group_count")]
|
|
public int? GroupCount {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;}
|
|
|
|
}
|
|
}
|