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.
58 lines
1.7 KiB
C#
58 lines
1.7 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DS.WMS.Core.Code.Entity
|
|
{
|
|
/// <summary>
|
|
/// 业务参数表
|
|
/// </summary>
|
|
[SqlSugar.SugarTable("code_config")]
|
|
public class CodeConfig : BaseOrgModel<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>
|
|
/// 排序
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "排序")]
|
|
public int? OrderNo { get; set; } = 100;
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "状态")]
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
}
|
|
}
|