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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.support.Query;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 公告/资讯类型列表查询参数
 * </p>
 *
 * @author caiwq
 * @since 2024-02-23
 */
@Data
@ApiModel(value = "PmgBatNoticeTypeQueryDto对象", description = "公告/资讯类型列表查询参数")
public class PmgBatNoticeTypeQueryDto extends Query {

    /**
     * 类型(1:系统公告 2:管理区公告 3:组织公告 4:资讯)
     */
    @ApiModelProperty(name = "type", value = "类型(1:系统公告 2:管理区公告 3:组织公告 4:资讯)")
    @NotNull(message = "类型不能为空")
    private Integer type;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 类型名称
     */
    @ApiModelProperty(name = "name", value = "类型名称")
    private String name;
    /**
     * 启用状态(0:未启用 1:已启用)
     */
    @ApiModelProperty(name = "enableStatus", value = "启用状态(0:未启用 1:已启用)")
    private Integer enableStatus;

}
