peng
2025-10-27 2a7b0a64b14b22ec45f8a0f6e4764bc3cd16919c
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package cn.lili.modules.lmk.domain.vo;
 
import cn.lili.base.AbsVo;
import cn.lili.modules.lmk.domain.entity.UserCheckTemplate;
import java.util.List;
import org.springframework.lang.NonNull;
import org.springframework.beans.BeanUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
 
/**
 * 用户选择模板展示
 *
 * @author peng
 * @since 2025-10-09
 */
@Data
@ApiModel(value = "用户选择模板响应数据", description = "用户选择模板响应数据")
public class UserCheckTemplateVO extends AbsVo {
 
    /** 订单编号 */
    @ApiModelProperty("订单编号")
    private String orderSn;
 
    /** 模板id */
    @ApiModelProperty("模板id")
    private String templateId;
 
    /** 子模板id */
    @ApiModelProperty("子模板id")
    private String subId;
 
    /** 文本值 */
    @ApiModelProperty("文本值")
    private String content;
 
    /** 模板名称 */
    @ApiModelProperty("模板名称")
    private String templateName;
 
    /** 选择模板图片id */
    @ApiModelProperty("选择模板图片id")
    private String chooseImgId;
 
    /** 选择模板图片 */
    @ApiModelProperty("选择模板图片")
    private String chooseImg;
 
    public static UserCheckTemplateVO getVoByEntity(@NonNull UserCheckTemplate entity, UserCheckTemplateVO vo) {
        if(vo == null) {
            vo = new UserCheckTemplateVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}