package cn.estsh.i3plus.pojo.andon.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.Entity;
import java.io.Serializable;

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

    private static final long serialVersionUID = 2210888838877951435L;

    @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;
}
