package com.matrix.system.shopXcx.api.dto; import com.matrix.core.pojo.BasePageQueryDto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; @Data @ApiModel(value = "MoneyCardUseFlowDto", description = "储值卡流水查询参数接收类") public class MoneyCardUseFlowDto extends BasePageQueryDto { @NotEmpty(message = "请选择查询时间") @ApiModelProperty(value = "查询月份",example = "2021-03") private String queryTime; @ApiModelProperty(value = "收支类型 不传全部,1,收入,2支出", example = "1") private Integer revenueType; @NotNull(message = "请选择要查询的储值卡ID") @ApiModelProperty(value = "储值卡id", example = "1") private Long carUseId; @ApiModelProperty(hidden = true) private Long companyId; }