2021-08-23 16:57:25 +08:00
|
|
|
|
//using Dapper.Contrib.Extensions;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ZR.Model.System
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典类型表
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("sys_dict_type")]//当和数据库名称不一样可以设置别名
|
2021-11-27 09:43:04 +08:00
|
|
|
|
[Tenant("0")]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public class SysDictType : SysBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典主键
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//主键并且自增 (string不能设置自增)
|
|
|
|
|
|
//[Key]
|
|
|
|
|
|
public long DictId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string DictName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string DictType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 状态 0、正常 1、停用
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|