namespace YY.Admin.Core;
///
/// 系统打印模板表
///
[SugarTable("sys_print", "系统打印模板表")]
[SysTable]
[SugarIndex("index_{table}_N", nameof(Name), OrderByType.Asc)]
public partial class SysPrint : EntityBaseTenant
{
///
/// 名称
///
[SugarColumn(ColumnDescription = "名称", Length = 64)]
[Required, MaxLength(64)]
public virtual string Name { get; set; }
///
/// 打印模板
///
[SugarColumn(ColumnDescription = "打印模板", ColumnDataType = StaticConfig.CodeFirst_BigString)]
[Required]
public virtual string Template { get; set; }
///
/// 打印类型
///
[SugarColumn(ColumnDescription = "打印类型")]
[Required]
public virtual PrintTypeEnum? PrintType { get; set; }
///
/// 客户端服务地址
///
[SugarColumn(ColumnDescription = "客户端服务地址", Length = 128)]
[MaxLength(128)]
public virtual string? ClientServiceAddress { get; set; }
///
/// 打印参数
///
[SugarColumn(ColumnDescription = "打印参数", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public virtual string? PrintParam { get; set; }
///
/// 排序
///
[SugarColumn(ColumnDescription = "排序")]
public int OrderNo { get; set; } = 100;
///
/// 状态
///
[SugarColumn(ColumnDescription = "状态")]
public StatusEnum Status { get; set; } = StatusEnum.Enable;
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", Length = 128)]
[MaxLength(128)]
public string? Remark { get; set; }
///
/// 打印预览测试数据
///
[SugarColumn(ColumnDescription = "打印预览测试数据", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? PrintDataDemo { get; set; }
}