package cn.freemud.entities.vo.order;

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

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "电子风味卡", description = "如果传了电子风味卡字段,此类中属性必传")
public class CreateOrderUnionPayCardVo {

    @NotNull(message = "电子风味卡手机号必传")
    @ApiModelProperty(value = "电子风味卡卡号(手机号)",required = true)
    private String code;

    @NotNull(message = "电子风味卡密码必传")
    @ApiModelProperty(value = "电子风味卡密码",required = true)
    private String password;

}
