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-18
 */
@Data
@ApiModel(value = "PmgBatTopMessageTypeDto对象", description = "置顶消息类型Dto")
public class PmgBatTopMessageTypeDto {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    @NotNull(message = "主键ID不能为空")
    private Long id;
    /**
     * 是否置顶(0:否 1:是)
     */
    @ApiModelProperty(name = "isTop", value = "是否置顶(0:否 1:是)")
    @NotNull(message = "置顶状态不能为空")
    private Integer isTop;

}
