Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / PlanNew.java
package com.newfiber.api.pc.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.newfiber.api.core.base.domain.Accessory;
import com.newfiber.api.core.base.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;


/**
 * 防汛应急指挥-应急预案对象 meet_plan_new
 * 
 * @author newfiber
 * @date 2024-07-23
 */
@Data
@TableName("meet_plan_new")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "防汛应急指挥-应急预案", description = "防汛应急指挥-应急预案")
public class PlanNew extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     *  预案名称
     */
    @ApiModelProperty(value = "预案名称")
    private String planName;

    /**
     *  预案类型
     */
    @ApiModelProperty(value = "预案类型")
    private String planType;

    /**
     *  预案文件
     */
    @ApiModelProperty(value = "预案文件")
    private String planFile;

    @ApiModelProperty(value = "预案文件集合")
    @TableField(exist = false)
    private List<Accessory> planFileList = new ArrayList<>();

    @ApiModelProperty(value = "预案类型名称")
    @TableField(exist = false)
    private String planTypeName;
}