package com.reptileclient.jlifeapp.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "创建权益单入参")
public class HmCreateRightRequestDTO {

    @NotBlank(message = "供应商code不可为空")
    private String supplierCode;

    @NotBlank(message = "门店code不可为空")
    private String shopCode;

    @NotBlank(message = "商品ID不可为空")
    private String itemId;

    @NotBlank(message = "用户名不可为空")
    private String userName;

    @NotBlank(message = "用户预约手机号不可为空")
    private String userPhone;

    @NotBlank(message = "权益次数不可为空")
    private String useTimes;

    @NotBlank(message = "关联单据")
    private String refHmOrderNo;

    @NotBlank(message = "赠送类型 默认05")
    private String useCode="05";

    @ApiModelProperty(name = "userRemark",value = "备注")
    private String userRemark;

}
