package com.njcn.supervision.pojo.param.databank;

import com.njcn.db.bo.BaseEntity;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 
 * Description:
 * Date: 2024/9/10  14:17【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@ApiModel(description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LibCaseParam extends BaseEntity {

    /**
     * 事件名称
     */
    @ApiModelProperty(value="事件名称")
    private String name;

    /**
     * 发生事件类型
     */
    @ApiModelProperty(value="发生事件类型")
    private String type;

    /**
     * 发生地点
     */
    @ApiModelProperty(value="发生地点")
    private String location;

    /**
     * 事件简介
     */
    @ApiModelProperty(value="事件简介")
    private String summary;

    /**
     * 事件经过
     */
    @ApiModelProperty(value="事件经过")
    private String process;

    /**
     * 处理措施
     */
    @ApiModelProperty(value="处理措施")
    private String measures;

    /**
     * 治理效果
     */
    @ApiModelProperty(value="治理效果")
    private String effect;

    /**
     * 附件地址
     */
    @ApiModelProperty(value="附件地址")
    private String url;

    /**
     * 示范案例地址
     */
    @ApiModelProperty(value="示范案例地址")
    private String caseUrl;

    @Data
    @EqualsAndHashCode(callSuper = true)
    public  static class LibCaseParamUpdate extends LibCaseParam {

        @ApiModelProperty("id")
        private String id;

    }
    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class  LibCaseParamQuery extends BaseParam {


    }

}