package com.xhpc.card.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

/**
 * 查询卡列表的条件实体类
 *
 * @author WH
 * @date 2022/1/26 14:25
 * @since version-1.0
 */
@NoArgsConstructor
@Data
public class QueryConditions {

    /**
     * currentPage
     */
    @Min(value = 1, message = "currentPage最小值必须为1")
    @JsonProperty("currentPage")
    private Long currentPage;
    /**
     * items
     */
    @Min(value = 1, message = "items最小值必须为1")
    @JsonProperty("items")
    private Long items;
    /**
     * cardSerialNumber
     */
    @JsonProperty("cardSerialNumber")
    private Integer cardSerialNumber;
    /**
     * cardPhysicalNumber
     */
    @JsonProperty("cardPhysicalNumber")
    private String cardPhysicalNumber;
    /**
     * grantOperator
     */
    @JsonProperty("grantOperator")
    private String grantOperator;
    /**
     * classification
     */
    @JsonProperty("classification")
    private Integer classification;
    /**
     * cardStatus
     */
    @JsonProperty("cardStatus")
    private Integer cardStatus;
    /**
     * cardType
     */
    @JsonProperty("cardType")
    private Integer cardType;
    /**
     * userType
     */
    @JsonProperty("userType")
    private Integer userType;
    /**
     * userAccount
     */
    @JsonProperty("userAccount")
    private String userAccount;

}
