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.
157 lines
5.2 KiB
C#
157 lines
5.2 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace DS.WMS.PrintApi.Model
|
|
{
|
|
/// <summary>
|
|
/// 打印模板
|
|
/// </summary>
|
|
[SqlSugar.SugarTable("sys_print_template")]
|
|
public class SysPrintTemplate
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键ID")]
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 打印模块Id
|
|
/// </summary>
|
|
public long ModuleId { get; set; }
|
|
/// <summary>
|
|
///打印模板名称
|
|
/// </summary>
|
|
[Description("打印模板名称")]
|
|
public string TemplateName { get; set; }
|
|
|
|
/// <summary>
|
|
///数据源;打印方案对应的数据来源SQL
|
|
/// </summary>
|
|
[Description("数据源;打印方案对应的数据来源SQL")]
|
|
public string SourceSql { get; set; }
|
|
|
|
/// <summary>
|
|
///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源
|
|
/// </summary>
|
|
[Description("中文视图名;设计打印方案时,提供中文快捷按钮的视图来源")]
|
|
public string ColumnView { get; set; }
|
|
|
|
/// <summary>
|
|
///入口参数字段;入库参数字段数组,通过,分隔
|
|
/// </summary>
|
|
[Description("入口参数字段;入库参数字段数组,通过,分隔")]
|
|
public string InParamColumn { get; set; }
|
|
|
|
/// <summary>
|
|
///分组字段,通常用于主从表结构打印时
|
|
/// </summary>
|
|
[Description("分组字段,通常用于主从表结构打印时")]
|
|
public string GroupBy { get; set; }
|
|
|
|
/// <summary>
|
|
///打印方案内容;打印方案JSON对象
|
|
/// </summary>
|
|
[Description("打印方案内容;打印方案JSON对象")]
|
|
public string PrintJsonContent { get; set; }
|
|
|
|
/// <summary>
|
|
///是否使用数据源
|
|
/// </summary>
|
|
public bool IsUseDataSource { get; set; }
|
|
/// <summary>
|
|
/// 打印类型
|
|
/// </summary>
|
|
[Description("打印类型")]
|
|
public string PrintType { get; set; }
|
|
/// <summary>
|
|
///是否公用
|
|
/// </summary>
|
|
[Description("是否公用")]
|
|
public bool IsPublic { get; set; }
|
|
/// <summary>
|
|
///是否可用
|
|
/// </summary>
|
|
[Description("是否可用")]
|
|
public bool Disable { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[Description("备注")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "备注", Length = 200)]
|
|
public string Note { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, ColumnDescription = "创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[Description("创建人")]
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "创建人")]
|
|
public long CreateBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人名称
|
|
/// </summary>
|
|
[Description("创建人名称")]
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "创建人名称", Length = 50)]
|
|
public string CreateUserName { get; set; }
|
|
/// <summary>
|
|
/// 修改人
|
|
/// </summary>
|
|
[Description("修改人")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "修改人")]
|
|
public long UpdateBy { get; set; }
|
|
/// <summary>
|
|
/// 修改人名称
|
|
/// </summary>
|
|
[Description("修改人名称")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "修改人名称", Length = 50)]
|
|
public string UpdateUserName { get; set; }
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "更新时间")]
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
[Description("删除")]
|
|
[SugarColumn(ColumnDescription = "是否删除")]
|
|
public bool Deleted { get; set; } = false;
|
|
/// <summary>
|
|
/// 删除人名称
|
|
/// </summary>
|
|
[Description("删除人名称")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "删除人名称", Length = 50)]
|
|
public string DeleteUserName { get; set; }
|
|
/// <summary>
|
|
/// 删除时间
|
|
/// </summary>
|
|
[Description("删除时间")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
|
public DateTime DeleteTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 删除人
|
|
/// </summary>
|
|
[Description("删除人")]
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "删除人")]
|
|
public long DeleteBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 租户Id
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "租户Id", IsOnlyIgnoreUpdate = true)]
|
|
public long TenantId { get; set; } = 0;
|
|
}
|
|
}
|