package com.yuchen.saas.park.api.entity.emergency;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.mp.base.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 应急预案-应急处置措施表
 * </p>
 *
 * @author 洪铭铭
 * @since 2024-07-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("emergency_handle_measure")
@ApiModel(value="EmergencyHandleMeasure对象", description="应急预案-应急处置措施表")
public class EmergencyHandleMeasure extends BaseEntity {

    @NotNull(message = "现场处置方案id不能为空")
    @ApiModelProperty(value = "现场处置方案id")
    @TableField("scene_dispose_plan_id")
    private Long sceneDisposePlanId;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "处置措施")
    @TableField("description")
    private String description;


}
