package com.starry.admin.modules.custom.module.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;

@Data
@ApiModel(value = "顾客等级修改参数", description = "修改顾客等级信息的请求参数")
public class PlayCustomLevelEditVo {

    /**
     * UUID
     */
    @NotBlank(message = "ID不能为空")
    @ApiModelProperty(value = "等级ID", required = true, example = "1", notes = "顾客等级的ID")
    private String id;

    /**
     * 等级名称
     */
    @NotBlank(message = "等级名称不能为空")
    @ApiModelProperty(value = "等级名称", required = true, example = "钻石会员", notes = "顾客等级的名称")
    private String name;

    /**
     * 上一级消费金额
     */
    @NotBlank(message = "消费金额不能为空")
    @ApiModelProperty(value = "消费金额", required = true, example = "1000", notes = "达到该等级需要的消费金额")
    private String consumptionAmount;

    /**
     * 满减比例
     */
    @NotBlank(message = "满减比例不能为空")
    @ApiModelProperty(value = "满减比例", required = true, example = "95", notes = "该等级享受的满减折扣比例，如95表示95折")
    private Integer discount;

    /**
     * 头像框地址
     */
    @ApiModelProperty(value = "头像框地址", example = "https://example.com/frame.png", notes = "该等级专属的头像框图片地址")
    private String avatarFrameAddress;

}
