package com.ruoyi.web.domain.dto.warning;

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

import java.io.Serializable;
import java.util.Date;

/**
 * 预警信息发布请求
 */
@Data
@ApiModel(value = "WarningReleaseRequest", description = "预警信息发布请求")
public class WarningReleaseRequest implements Serializable {

    /**
     * 类别 0-地震预警、1-人居环境预警、2-防溺水预警
     */
    private String type;

    /**
     * 位置
     */
    private String location;

    /**
     * 具体内容
     */
    private String content;

    /**
     * 预警日期
     */
    private Date date;


    private static final long serialVersionUID = 1L;
}