first commit
This commit is contained in:
31
ZR.Model/System/SysDictData.cs
Normal file
31
ZR.Model/System/SysDictData.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
//using Dapper.Contrib.Extensions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using SqlSugar;
|
||||
|
||||
namespace ZR.Model.System
|
||||
{
|
||||
/// <summary>
|
||||
/// 字典数据表
|
||||
/// </summary>
|
||||
//[Table("sys_dict_data")]
|
||||
[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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user