package com.yeejoin.amos.boot.module.ys.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 应急预案管理
 *
 * @author system_generator
 * @date 2024-09-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tzs_ys_emergency_plan")
public class YsEmergencyPlan extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 关联对象id
     */
	@TableField("business_id")
    private String businessId;

    /**
     * 关联对象类型
     */
	@TableField("type")
    private String type;

    /**
     * 预案类别
     */
	@TableField("plan_category")
    private String planCategory;

    /**
     * 预案类型
     */
	@TableField("plan_type")
    private String planType;

    /**
     * 预案名称
     */
	@TableField("plan_name")
    private String planName;

    /**
     * 预案文件
     */
	@TableField("plan_file")
    private String planFile;

    /**
     * 预案类别id
     */
	@TableField("plan_category_id")
    private String planCategoryId;

    /**
     * 预案时间
     */
	@TableField("plan_time")
    private Date planTime;

    /**
     * 创建时间
     */
	@TableField("create_date")
    private Date createDate;

    /**
     * 创建人id 
     */
	@TableField("create_user_id")
    private String createUserId;

    /**
     * 创建人
     */
	@TableField("create_user_name")
    private String createUserName;

    /**
     * 发布状态
     */
    @TableField("publish")
    private String publish;
}
