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_dangerous_goods")
@ApiModel(value="EmergencyDangerousGoods对象", description="应急预案-危险化学品信息表")
public class EmergencyDangerousGoods extends BaseEntity {

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

    @ApiModelProperty(value = "名称")
    @TableField("goods_name")
    private String goodsName;




}
