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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

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

/**
 * 事件添加请求
 *
 * @TableName event
 */
@ApiModel(value = "EventAddRequest", description = "事件添加请求参数")
@Data
public class EventAddRequest implements Serializable {

    /**
     * 事发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date occurTime;

    /**
     * 事件类别,0-矛盾纠纷类/1-消防隐患类/2-安全隐患类/3-社会治安类/4-环境治理类/5-反诈宣传类
     */
    private Integer type;

    /**
     * 事发地点
     */
    private String location;

    /**
     * 事件描述
     */
    private String description;

    /**
     * 照片
     */
    private String photoUrl;

    private static final long serialVersionUID = 1L;
}