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.
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Entity;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户自定义列表字段设置
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarTable("code_custom_column_set", "租户自定义列表字段设置")]
|
|
|
|
|
public class CodeCustomColumnSet : BaseOrgModel<long>
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自定义列表Code
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "自定义列表Code", IsNullable = false, Length = 50)]
|
|
|
|
|
public string CustomTableCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "模板名称", IsNullable = false, Length = 50)]
|
|
|
|
|
public string TemplateName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 列表字段默认设置
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "列表字段默认设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
|
|
|
|
public string DefaultContent { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 列表字段设置
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "列表字段设置", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
|
|
|
|
|
public string Content { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "排序号", IsNullable = true, DefaultValue = "100")]
|
|
|
|
|
public int? OrderNo { get; set; } = 100;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "状态")]
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
}
|