using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;
namespace Business.Models
{
///
/// 打印模板
///
public class PrintTemplate: AuditedAggregateRoot, ISoftDelete, IMultiTenant
{
public Guid? TenantId { get; set; }
///
/// 模板名称
///
public string Name { get; set; }
///
/// 模板类型:0设计模板,1指令模板
///
public int TempType { get; set; }
///
/// 默认
///
public bool IsDefault { get; set; }
///
/// 状态:0禁用,1启用
///
public int Status { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 模板内容
///
public string Content { get; set; }
///
/// 备注
///
public string Remark { get; set; }
#region PdfExporterAttribute
///
/// 打印方向
///
public int? Orientation { get; set; }
///
/// 纸张大小
///
public int? PaperKind { get; set; }
///
/// 纸张宽度
///
public double? PaperWidth { get; set; }
///
/// 纸张高度
///
public double? PaperHeight { get; set; }
#endregion
public bool IsDeleted { get; set; }
}
}