package com.ylx.point.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("当前用户的积分信息分页查询DTO")
public class UserPointPageDTO {

    @ApiModelProperty("操作类型：1-收入 2-支出 3-过期 ")
    @NotNull(message = "操作类型不能为空")
    private Integer opType;

    @ApiModelProperty(name = "用户的openID", hidden = true)
    private String openId;
}
