| | |
| | | package com.matrix.system.shopXcx.api.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.matrix.core.pojo.BasePageQueryDto; |
| | | import com.matrix.core.tools.DateUtil; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @ApiModel(value = "ScoreFlowDto", description = "积分流水查询参数接收类") |
| | | public class ScoreFlowDto extends BasePageQueryDto { |
| | | |
| | | @NotNull(message = "查询月份不能为空") |
| | | |
| | | @ApiModelProperty(value = "查询月份",example = "2021-03") |
| | | private String queryTime; |
| | | |
| | | @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8") |
| | | private Date beginTime; |
| | | |
| | | @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8") |
| | | private Date endTime; |
| | | |
| | | |
| | | @ApiModelProperty(value = "收支类型 不传全部,1,收入,2支出", example = "1") |
| | | private Integer revenueType; |
| | | |
| | | @ApiModelProperty(hidden = true) |
| | | private String userId; |
| | | |
| | | @ApiModelProperty(value = "会员id", example = "1") |
| | | private Long vipId; |
| | | |
| | | @ApiModelProperty(value = "备注", example = "1") |
| | | private String remarks; |
| | | |
| | | |
| | | } |