package com.ai.da.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

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

@Data
@ApiModel("History编辑")
public class HistoryUpdateDTO {

    @NotNull(message = "userGroupId.cannot.be.empty")
    @ApiModelProperty("history 分组id")
    private Long userGroupId;

    @NotBlank(message = "userGroupName.cannot.be.empty")
    @ApiModelProperty("history 分组名称")
    private String userGroupName;

    @NotBlank(message = "timeZone.cannot.be.empty")
    @ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
    private String timeZone;

}
