package com.yuchen.saas.message.api.dto;

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

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 发布(关闭)公告/资讯Dto
 * </p>
 *
 * @author caiwq
 * @since 2024-03-01
 */
@Data
@ApiModel(value = "PmgBatPublishNoticeDto对象", description = "发布(关闭)公告/资讯Dto")
public class PmgBatPublishNoticeDto {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    @NotNull(message = "主键ID不能为空")
    private Long id;

    /**
     * 发布状态(1:未发布 2:已发布 3:已关闭)
     */
    @ApiModelProperty(name = "publishStatus", value = "发布状态(1:未发布 2:已发布 3:已关闭)")
    @NotNull(message = "发布状态不能为空")
    private Integer publishStatus;

}
