feat(puzzle): 添加模板打印相关字段

- 在 PuzzleTemplateDTO 中新增 autoAddPrint 字段表示自动添加到打印队列
- 在 PuzzleTemplateDTO 中新增 canPrint 字段表示是否可以打印
- 在 PuzzleTemplateDTO 中新增 userArea 字段表示用户查看区域
- 在 TemplateCreateRequest 中新增 autoAddPrint 字段表示自动添加到打印队列
- 在 TemplateCreateRequest 中新增 canPrint 字段表示是否可以打印
- 在 TemplateCreateRequest 中新增 userArea 字段表示用户查看区域
This commit is contained in:
2025-12-18 10:32:21 +08:00
parent 7e157eaba9
commit 95a5977ae2
2 changed files with 30 additions and 0 deletions

View File

@@ -78,6 +78,21 @@ public class PuzzleTemplateDTO {
*/
private Long scenicId;
/**
* 自动添加到打印队列:1-开启 0-关闭
*/
private Integer autoAddPrint;
/**
* 是否可以打印:1-可以 0-不可以
*/
private Integer canPrint;
/**
* 用户查看区域(裁切区域),格式:x,y,w,h
*/
private String userArea;
/**
* 元素列表
*/

View File

@@ -61,6 +61,21 @@ public class TemplateCreateRequest {
*/
private String category;
/**
* 自动添加到打印队列:1-开启 0-关闭
*/
private Integer autoAddPrint;
/**
* 是否可以打印:1-可以 0-不可以
*/
private Integer canPrint;
/**
* 用户查看区域(裁切区域),格式:x,y,w,h
*/
private String userArea;
/**
* 状态:0-禁用 1-启用
*/