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.
94 lines
3.9 KiB
C#
94 lines
3.9 KiB
C#
using System.ComponentModel;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Sys.Entity;
|
|
/// <summary>
|
|
/// 系统打印模板
|
|
/// </summary>
|
|
[SqlSugar.SugarTable("sys_print_template", "系统打印模板")]
|
|
public class SysPrintTemplate : BaseTenantModel<long>
|
|
{
|
|
/// <summary>
|
|
/// 打印模块Id
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "打印模块Id", IsNullable = false, DefaultValue = "0")]
|
|
public long ModuleId { get; set; }
|
|
/// <summary>
|
|
/// 打印模块唯一编码
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "打印模块唯一编码", IsNullable = false, Length = 100)]
|
|
public string ModuleCode { get; set; }
|
|
/// <summary>
|
|
///打印模板唯一编码
|
|
/// </summary>
|
|
[Description("打印模板唯一编码")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "打印模板唯一编码", IsNullable = false, Length = 50)]
|
|
public string TemplateCode { get; set; }
|
|
/// <summary>
|
|
///打印模板名称
|
|
/// </summary>
|
|
[Description("打印模板名称")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "打印模板名称", IsNullable = false, Length = 100)]
|
|
public string TemplateName { get; set; }
|
|
|
|
/// <summary>
|
|
///数据源;打印方案对应的数据来源SQL
|
|
/// </summary>
|
|
[Description("数据源;打印方案对应的数据来源SQL")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "数据源;打印方案对应的数据来源SQL", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
|
public string SourceSql { get; set; }
|
|
|
|
/// <summary>
|
|
///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源
|
|
/// </summary>
|
|
[Description("中文视图名;设计打印方案时,提供中文快捷按钮的视图来源")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "中文视图名;设计打印方案时,提供中文快捷按钮的视图来源", IsNullable = true, Length = 200)]
|
|
public string ColumnView { get; set; }
|
|
|
|
/// <summary>
|
|
///入口参数字段;入库参数字段数组,通过,分隔
|
|
/// </summary>
|
|
[Description("入口参数字段;入库参数字段数组,通过,分隔")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "入口参数字段;入库参数字段数组,通过,分隔", IsNullable = true, Length = 200)]
|
|
public string InParamColumn { get; set; }
|
|
|
|
/// <summary>
|
|
///分组字段,通常用于主从表结构打印时
|
|
/// </summary>
|
|
[Description("分组字段,通常用于主从表结构打印时")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "分组字段", IsNullable = true, Length = 200)]
|
|
public string GroupBy { get; set; }
|
|
/// <summary>
|
|
/// 打印类型
|
|
/// </summary>
|
|
[Description("打印类型")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "打印类型", IsNullable = true, Length = 100)]
|
|
public string PrintType { get; set; }
|
|
|
|
/// <summary>
|
|
///打印方案内容;打印方案JSON对象
|
|
/// </summary>
|
|
[Description("打印方案内容;打印方案JSON对象")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "数据源;打印方案对应的数据来源SQL", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
|
public string PrintJsonContent { get; set; }
|
|
|
|
/// <summary>
|
|
///是否使用数据源
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "是否使用数据源", IsNullable = true, DefaultValue ="0")]
|
|
public bool IsUseDataSource { get; set; }
|
|
|
|
/// <summary>
|
|
///是否公用
|
|
/// </summary>
|
|
[Description("是否公用")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "是否公用", IsNullable = true, DefaultValue = "0")]
|
|
public bool IsPublic { get; set; }
|
|
/// <summary>
|
|
/// 是否可用
|
|
/// </summary>
|
|
[Description("是否可用")]
|
|
[SqlSugar.SugarColumn(ColumnDescription = "是否可用", IsNullable = true, DefaultValue = "0")]
|
|
public bool Disable { get; set; }
|
|
} |