2026-07-01 6b5f7c66fc40d7f6099d561e31a34fbd50dd20d3
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
package cn.iocoder.yudao.module.crm.controller.admin.contract.vo.contract;
 
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.module.crm.enums.common.CrmAuditStatusEnum;
import cn.iocoder.yudao.module.crm.enums.common.CrmSceneTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
 
@Schema(description = "管理后台 - CRM 合同分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CrmContractPageReqVO extends PageParam {
 
    /**
     * 过期类型 - 即将过期
     */
    public static final Integer EXPIRY_TYPE_ABOUT_TO_EXPIRE = 1;
    /**
     * 过期类型 - 已过期
     */
    public static  final Integer EXPIRY_TYPE_EXPIRED = 2;
 
    @Schema(description = "合同编号", example = "XYZ008")
    private String no;
 
    @Schema(description = "合同名称", example = "王五")
    private String name;
 
    @Schema(description = "客户编号", example = "18336")
    private Long customerId;
 
    @Schema(description = "商机编号", example = "10864")
    private Long businessId;
 
    @Schema(description = "场景类型", example = "1")
    @InEnum(CrmSceneTypeEnum.class)
    private Integer sceneType; // 场景类型,为 null 时则表示全部
 
    @Schema(description = "审批状态", example = "20")
    @InEnum(CrmAuditStatusEnum.class)
    private Integer auditStatus;
 
    @Schema(description = "过期类型", example = "1")
    private Integer expiryType; // 过期类型,为 null 时则表示全部
 
}