package com.css.txw.gxzx.pojo.lsjr;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@Schema(description = "待审批信贷/保险产品查询入参")
public class DspXdbxcpcxRequestVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "套餐B")
    private String cpmc;

    @Schema(description = "产品类型,产品上下架-xd:信贷，bx:保险", example = "['xd','bx'")
    private List<String> typeList;

    @Schema(description = "企业列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "['12313','2222']")
    private List<String> qyidList;

    @Schema(description = "页码", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "页码不能为空")
    private Integer pageNum;

    @Schema(description = "页容量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    @NotNull(message = "页容量不能为空")
    private Integer pageSize;

}
