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_periphery_support")
@ApiModel(value="EmergencyPeripherySupport对象", description="应急预案-周边支援力量表")
public class EmergencyPeripherySupport extends BaseEntity {

    @NotNull(message = "应急预案id不能为空")
    @ApiModelProperty(value = "应急预案id")
    @TableField("plan_id")
    private Long planId;

    @ApiModelProperty(value = "机构名称")
    @TableField("department_name")
    private String departmentName;

    @ApiModelProperty(value = "所属地区")
    @TableField("location")
    private String location;

    @ApiModelProperty(value = "联系人")
    @TableField("contact_person")
    private String contactPerson;

    @ApiModelProperty(value = "联系人号码")
    @TableField("contact_number")
    private String contactNumber;

    @ApiModelProperty(value = "应急能力描述")
    @TableField("description")
    private Long description;


}
