package cn.estsh.i3plus.ext.mes.pojo.bean;

import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 文件描述
 *
 * @author xiangming.liao
 * @date 2021年08月21日 6:34
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PLANT_INFO")
@Api("MES_工厂信息维护")
public class MesPlantInfo extends BaseBean implements Serializable {

    private static final long serialVersionUID = -95707714847849434L;

    @Column(name="PLANT_NAME")
    @ApiParam("工厂名称")
    private String plantName;

    @Column(name= "CREW_SIZE")
    @ApiParam("人员数")
    private Double crewSize;

    //@Column(name="DISH_WASHING_MACHINE")
    //@ApiParam("洗碗机")
    //private String dishWashingMachine;
    //
    //@Column(name="BIDET")
    //@ApiParam("温水便座")
    //private String bidet;
    //
    //@Column(name="ONENESS_WASHLET")
    //@ApiParam(value ="便座一体机")
    //private String onenessWashlet;

    @Lob
    @Column(name="CONTENT")
    @ApiParam(value ="工厂产品内容")
    private String content;

    @Column(name= "FACTORY_AREA")
    @ApiParam("工厂面积")
    private String factoryArea;

    @Column(name= "FACTORY_AREA_DETAILS")
    @ApiParam("工厂面积详情")
    private String factoryAreaDetails;
}
