package com.ho.business.vo.req;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import java.util.Date;


/**
 * 页签表实体
 */
@Data
public class TabSortReqVo {

    @ApiModelProperty(value = "tabId")
    private Integer tabId;
    /**
     * 页签名称
     */
    @ApiModelProperty(value = "页签名称")
    @NotNull
    @Length(max = 50, message = "区域名称不能超过50个字符")
    private String tabName;
    /**
     * 页签排序
     */
    @ApiModelProperty(value = "页签排序")
    private Integer tabOrder;
    /**
     * 电站id
     */
    @ApiModelProperty(value = "电站id")
    private Integer stationId;
    /**
     * 版本号,用于回滚
     */
    @ApiModelProperty(value = "版本号")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date versionNo;
}
