package com.matrix.system.shopXcx.api.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; @ApiModel(value = "AddVipDto", description = "添加会员接收参数类") public class ApplyToBeAnSalesmanDto { @NotBlank(message = "性别不能为空") @ApiModelProperty(value = "性别", example = "男/女") private String sex; }