package com.microservices.zone.journals.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 通用评论更新VO
 *
 * @author otto
 * @date 2025-04-30
 */
@Data
@ApiModel("评论更新对象")
public class ZoneJournalsUpdateVo {

    /** 评论ID */
    @NotNull(message = "评论ID不能为空")
    @ApiModelProperty(value = "评论ID", required = true)
    private Long id;

    /** 评论内容 */
    @NotBlank(message = "评论内容不能为空")
    @Size(max = 2000, message = "评论内容不能超过2000个字符")
    @ApiModelProperty(value = "评论内容", required = true)
    private String notes;

    /** @用户列表 */
    @ApiModelProperty(value = "@用户列表")
    private String[] receivers_login;

    /** 附件标识列表 */
    @ApiModelProperty(value = "附件标识列表")
    private String attachment_identifiers;
}
