xiaoyi
4 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
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
package cn.iocoder.yudao.module.crm.controller.admin.cancellation.vo;
 
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CANCELLATION_TYPE;
 
@Schema(description = "管理后台 - CRM 销户申请新增/修改 Request VO")
@Data
public class CrmCancellationSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "销户编号(不传则自动生成)")
    private String cancellationNo;
 
    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    @NotNull(message = "客户ID不能为空")
    private Long customerId;
 
    @Schema(description = "客户名称")
    private String customerName;
 
    @Schema(description = "合同ID", example = "2048")
    private Long contractId;
 
    @Schema(description = "合同编号")
    private String contractNo;
 
    @Schema(description = "销户类型(用电销户/服务终止/合同到期)", example = "ELECTRICITY")
    @DictFormat(CRM_CANCELLATION_TYPE)
    private String cancellationType;
 
    @Schema(description = "销户原因")
    private String cancelReason;
 
    @Schema(description = "预计销户日期")
    private LocalDate expectedCancelDate;
 
    @Schema(description = "实际销户日期")
    private LocalDate actualCancelDate;
 
    @Schema(description = "退费金额")
    private BigDecimal refundAmount;
 
    @Schema(description = "申请用户ID", example = "1")
    private Long applyUserId;
 
    @Schema(description = "申请用户姓名", example = "李工")
    private String applyUserName;
 
    @Schema(description = "申请时间")
    private LocalDateTime applyTime;
 
    @Schema(description = "审批状态(0草稿/10待审批/20通过/30驳回)", example = "0")
    private Integer auditStatus;
 
    @Schema(description = "流程实例ID")
    private String processInstanceId;
 
    @Schema(description = "备注")
    private String remark;
 
}