| | |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | import javax.validation.Valid; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * @author mitao |
| | | * @date 2024/6/12 |
| | | */ |
| | | @Data |
| | | @ApiModel("会员等级数据传输对象对象") |
| | | public class MgtMemberLevelDTO implements Serializable { |
| | | @ApiModel("会员等级数据传输对象") |
| | | public class MgtMemberLevelDTO { |
| | | |
| | | private static final long serialVersionUID = 841295965476674650L; |
| | | |
| | | @ApiModelProperty(value = "会员等级") |
| | | @NotNull(message = "会员等级不能为空") |
| | | private Integer level; |
| | | |
| | | @ApiModelProperty(value = "累计消费") |
| | | @NotNull(message = "累计消费不能为空") |
| | | private BigDecimal cumulativeConsumption; |
| | | |
| | | @ApiModelProperty("会员等级列表") |
| | | @Valid |
| | | List<MgtMemberLevelDetailDTO> memberLevelDTOList; |
| | | } |