package com.njcn.device.pojo.vo;

import com.njcn.common.pojo.constant.PatternRegex;
import com.njcn.device.pojo.constant.DeviceValidMessage;
import com.njcn.web.constant.ValidMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * pqs
 *
 * @author cdf
 * @date 2021/6/24
 */
@Data
@ApiModel
public class ProvinceVO {

    /**
     * 表Id
     */
    @ApiModelProperty("provinceIndex")
    private String provinceIndex;

    @ApiModelProperty(name ="name",value = "省份",required = true)
    private String name;

    @ApiModelProperty(name = "sort",value = "排序",required = true)
    @NotNull(message = "排序不可为空")
    private Integer sort;


}
