新增打印模板管理功能,包含免密接口和实时通知机制,支持桌面端打印模板的查询和列表展示。更新相关控制器、服务和视图,优化用户体验并增强系统的实时数据同步能力。

This commit is contained in:
geht
2026-05-12 18:29:03 +08:00
parent f5ba828eff
commit fcedc66f7a
32 changed files with 2788 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
namespace YY.Admin.Core.Entity;
/// <summary>打印模板(映射后端 print_template 表,桌面端只读)</summary>
public class PrintTemplate
{
public string? Id { get; set; }
public string? TemplateCode { get; set; }
public string? TemplateName { get; set; }
public string? Category { get; set; }
public double? PaperWidthMm { get; set; }
public double? PaperHeightMm { get; set; }
public string? PaperOrientation { get; set; }
/// <summary>原生设计器 JSONengine=native</summary>
public string? TemplateJson { get; set; }
public string? Remark { get; set; }
public string? CreateBy { get; set; }
public DateTime? CreateTime { get; set; }
public string? UpdateBy { get; set; }
public DateTime? UpdateTime { get; set; }
}