using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
///
/// 租户表单字段复制模板
///
[SqlSugar.SugarTable("code_form_copy", "租户表单字段复制模板")]
public class CodeFormCopy : BaseOrgModel
{
///
/// 权限Id
///
[SugarColumn(ColumnDescription = "权限Id", IsNullable = false)]
public long? PermissionId { get; set; }
///
/// 权限模块名称
///
[SugarColumn(ColumnDescription = "权限模块名称", IsNullable = false,Length = 50)]
public string PermissionName { get; set; }
/////
///// 中文视图名
/////
//[SugarColumn(ColumnDescription = "中文视图名", IsNullable = false, Length = 100)]
//public string ColumnView { get; set; }
///
/// 模板名称
///
[SugarColumn(ColumnDescription = "模板名称", IsNullable = false, Length = 50)]
public string TemplateName { get; set; }
///
/// 是否公共标识
///
[SugarColumn(ColumnDescription = "是否公共标识", IsNullable = false,DefaultValue = "0")]
public bool IsPublic { get; set; } = false;
///
/// 表单默认设置
///
[SugarColumn(ColumnDescription = "表单默认设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string DefaultContent { get; set; }
///
/// 表单字段复制设置
///
[SugarColumn(ColumnDescription = "表单字段复制设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string Content { get; set; }
///
/// 复制字段集合
///
[SugarColumn(ColumnDescription = "复制字段集合", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string CopyFields { get; set; }
///
/// 表单序号
///
[SugarColumn(ColumnDescription = "表单序号", IsNullable = false, DefaultValue = "0")]
public int FormNo { get; set; } = 0;
///
/// 排序号
///
[SugarColumn(ColumnDescription = "排序号", IsNullable = true,DefaultValue = "100")]
public int? OrderNo { get; set; } = 100;
///
/// 状态
///
[SqlSugar.SugarColumn(ColumnDescription = "状态")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}