You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.6 KiB
C#
55 lines
1.6 KiB
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Sys.Entity;
|
|
/// <summary>
|
|
/// 系统参数表
|
|
/// </summary>
|
|
[SqlSugar.SugarTable("sys_config")]
|
|
public class SysConfig: BaseTenantModel<long>
|
|
{
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[Required, MaxLength(100)]
|
|
[SugarColumn(ColumnDescription = "名称",Length =100)]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 编码
|
|
/// </summary>
|
|
[Required, MaxLength(100)]
|
|
[SugarColumn(ColumnDescription = "编码", IsNullable = true, Length = 100)]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 属性值
|
|
/// </summary>
|
|
[MaxLength(100)]
|
|
[SugarColumn(ColumnDescription = "属性值", IsNullable = true, Length = 100)]
|
|
public string Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// 常量所属分类的编码,来自于“常量的分类”字典
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "常量所属分类的编码", IsNullable = true, Length = 100)]
|
|
public string GroupCode { get; set; }
|
|
/// <summary>
|
|
/// 是否系统参数 0否 1是
|
|
/// </summary>
|
|
[Description("是否系统参数 0否 1是")]
|
|
public bool IsSysFlag { get; set; } = false;
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "排序")]
|
|
public int? OrderNo { get; set; } = 100;
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "状态")]
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
} |