using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Entity.DbModel.Station
{
///
///电价模型板板;电价模型版本表,生失效时间左开右闭且不能重叠
///
[SugarTable("elec_price_model_version")]
public partial class ElecPriceModelVersion
{
public ElecPriceModelVersion(){
}
///
/// Desc:主键
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
public int Id {get;set;}
///
/// Desc:版本号;版本号,唯一
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="version")]
public int Version {get;set;}
///
/// Desc:生效时间;生效时间(左开右闭)
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="start_time")]
public DateTime? StartTime {get;set;}
///
/// Desc:失效时间;失效时间(左开右闭)
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="end_time")]
public DateTime? EndTime {get;set;}
///
/// Desc:创建人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="created_by")]
public string CreatedBy {get;set;}
///
/// Desc:创建时间
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
///
[SugarColumn(ColumnName="created_time")]
public DateTime? CreatedTime {get;set;}
///
/// Desc:更新人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="updated_by")]
public string UpdatedBy {get;set;}
///
/// Desc:更新时间
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
///
[SugarColumn(ColumnName="updated_time")]
public DateTime? UpdatedTime {get;set;}
}
}