2021-08-23 16:57:25 +08:00
|
|
|
|
//using Dapper.Contrib.Extensions;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ZR.Model.System
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典数据表
|
|
|
|
|
|
/// </summary>
|
2021-11-27 09:43:04 +08:00
|
|
|
|
[Tenant("0")]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
[SugarTable("sys_dict_data")]
|
|
|
|
|
|
public class SysDictData: SysBase
|
|
|
|
|
|
{
|
|
|
|
|
|
//[Key]
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典主键
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//主键并且自增 (string不能设置自增)
|
|
|
|
|
|
public long DictCode{ get; set; }
|
|
|
|
|
|
public int DictSort { get; set; }
|
|
|
|
|
|
public string DictLabel { get; set; }
|
|
|
|
|
|
public string DictValue { get; set; }
|
|
|
|
|
|
public string DictType { get; set; }
|
|
|
|
|
|
public string CssClass { get; set; }
|
|
|
|
|
|
public string ListClass { get; set; }
|
|
|
|
|
|
public string IsDefault { get; set; }
|
|
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|