xiaoyi
4 天以前 c9d4ba37c1f681b12e24014013fa9a28734bad42
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package cn.iocoder.yudao.module.aftersales.controller.admin.compensation.vo;
 
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 售后赔付/服务补偿单 Response VO
 */
@Schema(description = "售后赔付/服务补偿单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AfterSaleCompensationRespVO {
 
    @Schema(description = "赔付单编号", example = "1")
    @ExcelProperty("赔付单编号")
    private Long id;
 
    @Schema(description = "赔付单号", example = "PS20260820001")
    @ExcelProperty("赔付单号")
    private String compensationNo;
 
    @Schema(description = "赔付类型: 1-故障赔付 2-服务补偿", example = "1")
    @ExcelProperty(value = "赔付类型", converter = DictConvert.class)
    @DictFormat(cn.iocoder.yudao.module.aftersales.enums.DictTypeConstants.AFTER_SALES_COMPENSATION_TYPE)
    private Integer compensationType;
 
    @Schema(description = "关联售后工单编号", example = "1")
    private Long ticketId;
 
    @Schema(description = "客户编号", example = "1")
    private Long customerId;
 
    @Schema(description = "客户名称", example = "华能电力")
    private String customerName;
 
    @Schema(description = "关联销售订单编号", example = "1")
    private Long saleOrderId;
 
    @Schema(description = "赔付金额", example = "1000.00")
    @ExcelProperty("赔付金额")
    private BigDecimal amount;
 
    @Schema(description = "赔付对象", example = "张三")
    @ExcelProperty("赔付对象")
    private String payee;
 
    @Schema(description = "赔付原因", example = "产品故障导致损失")
    @ExcelProperty("赔付原因")
    private String reason;
 
    @Schema(description = "审批状态", example = "0")
    private Integer auditStatus;
 
    @Schema(description = "审批状态名称", example = "未提交")
    private String auditStatusName;
 
    @Schema(description = "审批流程实例编号")
    private String processInstanceId;
 
    @Schema(description = "审核人", example = "1")
    private Long auditUserId;
 
    @Schema(description = "审核时间")
    private LocalDateTime auditTime;
 
    @Schema(description = "审核备注")
    private String auditRemark;
 
    @Schema(description = "支付状态(账务联动预留)")
    private Integer payStatus;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
 
}