MrShi
2026-04-29 fa579a2fcad3e23c9df1c72fae3281b1b4c06fdd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.doumee.dao.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
@Data
@ApiModel("打印机绑定请求")
public class PrinterBindDTO {
 
    @ApiModelProperty(value = "门店ID", required = true)
    @NotNull(message = "门店ID不能为空")
    private Integer shopId;
 
    @ApiModelProperty(value = "打印机SN编号", required = true)
    @NotBlank(message = "打印机SN不能为空")
    private String printerSn;
 
    @ApiModelProperty(value = "打印机KEY", required = true)
    @NotBlank(message = "打印机KEY不能为空")
    private String printerKey;
}