package com.ai.da.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
@Schema(description = "History编辑")
public class HistoryUpdateDTO {

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

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

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

}
