|
@@ -1,3 +1,6 @@
|
|
|
|
+using Mapster;
|
|
|
|
+
|
|
|
|
+
|
|
namespace Model
|
|
namespace Model
|
|
{
|
|
{
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -10,92 +13,92 @@ namespace Model
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 编号
|
|
/// 编号
|
|
/// </summary>
|
|
/// </summary>
|
|
- [SugarColumn(ColumnDescription = "编号", ColumnName = "id")]
|
|
|
|
- public long Id { get; set; }
|
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "编号", IsPrimaryKey = true, ColumnName = "id")]
|
|
|
|
+ public long id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 字典ID
|
|
/// 字典ID
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "字典ID", ColumnName = "dict_id")]
|
|
[SugarColumn(ColumnDescription = "字典ID", ColumnName = "dict_id")]
|
|
- public long DictId { get; set; }
|
|
|
|
|
|
+ public long dictId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 字典项值
|
|
/// 字典项值
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "字典项值", Length = 100, ColumnName = "item_value")]
|
|
[SugarColumn(ColumnDescription = "字典项值", Length = 100, ColumnName = "item_value")]
|
|
- public string ItemValue { get; set; }
|
|
|
|
|
|
+ public string itemValue { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 字典项名称
|
|
/// 字典项名称
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "字典项名称", Length = 100, ColumnName = "label")]
|
|
[SugarColumn(ColumnDescription = "字典项名称", Length = 100, ColumnName = "label")]
|
|
- public string Label { get; set; }
|
|
|
|
|
|
+ public string label { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 字典类型
|
|
/// 字典类型
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "字典类型", Length = 100, ColumnName = "dict_type")]
|
|
[SugarColumn(ColumnDescription = "字典类型", Length = 100, ColumnName = "dict_type")]
|
|
- public string DictType { get; set; }
|
|
|
|
|
|
+ public string dictType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 字典项描述
|
|
/// 字典项描述
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "字典项描述", Length = 100, ColumnName = "description")]
|
|
[SugarColumn(ColumnDescription = "字典项描述", Length = 100, ColumnName = "description")]
|
|
- public string Description { get; set; }
|
|
|
|
|
|
+ public string description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 排序(升序)
|
|
/// 排序(升序)
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "排序(升序)", ColumnName = "sort_order")]
|
|
[SugarColumn(ColumnDescription = "排序(升序)", ColumnName = "sort_order")]
|
|
- public int SortOrder { get; set; }
|
|
|
|
|
|
+ public int sortOrder { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 创建人
|
|
/// 创建人
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建人", Length = 64, ColumnName = "create_by")]
|
|
[SugarColumn(ColumnDescription = "创建人", Length = 64, ColumnName = "create_by")]
|
|
- public string CreateBy { get; set; }
|
|
|
|
|
|
+ public string createBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 修改人
|
|
/// 修改人
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "修改人", Length = 64, ColumnName = "update_by")]
|
|
[SugarColumn(ColumnDescription = "修改人", Length = 64, ColumnName = "update_by")]
|
|
- public string UpdateBy { get; set; }
|
|
|
|
|
|
+ public string updateBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// 创建时间
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")]
|
|
[SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")]
|
|
- public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
+ public DateTime? createTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// 更新时间
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")]
|
|
[SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")]
|
|
- public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
+ public DateTime? updateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 备注信息
|
|
/// 备注信息
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "备注信息", Length = 255, ColumnName = "remarks")]
|
|
[SugarColumn(ColumnDescription = "备注信息", Length = 255, ColumnName = "remarks")]
|
|
- public string Remarks { get; set; }
|
|
|
|
|
|
+ public string remarks { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 删除标志
|
|
/// 删除标志
|
|
/// </summary>
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "删除标志", Length = 1, ColumnName = "del_flag")]
|
|
[SugarColumn(ColumnDescription = "删除标志", Length = 1, ColumnName = "del_flag")]
|
|
- public string DelFlag { get; set; }
|
|
|
|
|
|
+ public string delFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|