package cn.estsh.i3plus.pojo.mes.model;

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.Transient;

/**
 * @Description:
 * @Reference:
 * @Author: yiming.gu
 * @CreateDate:2019-04-18-14:16
 * @Modify:
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Api("组织模型")
public class ProdOrgModel extends BaseBean {

    @ApiParam("区域名称")
    private String areaName;

    @ApiParam("区域代码")
    private String areaCode;

    @ApiParam("工作中心代码")
    private String workCenterCode;

    @ApiParam("工作中心名称")
    private String workCenterName;

    @ApiParam("ERP工作中心")
    private String erpWorkCenter;

    @ApiParam("工作版本")
    private String workVer;

    @ApiParam("工作单元代码")
    private String workCellCode;

    @ApiParam("工作单元名称")
    private String workCellName;

    @ApiParam("设备代码")
    private String equipmentCode;

    @ApiParam("设备名称")
    private String equipmentName;

    @ApiParam("设备状态")
    private String status;

    @ApiParam("当前级")
    private Integer level;

    @Transient
    @ApiParam("工位类型")
    private Integer workCellType;

    @Transient
    @ApiParam("序号")
    private Integer seq;

    @Transient
    @ApiParam("工位监控模式")
    private Integer monitorType;

    @Transient
    @ApiParam("条码生成模式")
    private Integer generateType;
}
