package cn.estsh.i3plus.pojo.mes.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.Table;

/**
 * @Description :设备作业任务明细
 * @Reference :
 * @Author : wangjie
 * @CreateDate : 2019-10-11
 * @Modify:
 **/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="MES_EQU_TASK_DETAIL")
@Api("设备作业任务明细")
public class MesEquTaskDetail extends BaseBean {

    @Column(name="TASK_NO")
    @ApiParam("作业任务编号")
    private String taskNo;

    @Column(name="EQUIPMENT_CODE")
    @ApiParam("设备代码")
    private String equipmentCode;

    @Column(name="EQUIPMENT_NAME")
    @ApiParam("设备名称")
    private String equipmentName;

    @Column(name="ACTION_STATUS")
    @ApiParam("执行状态")
    private Integer actionStatus;

    @Column(name="FINAL_RESULT")
    @ApiParam("整体结果")
    private Integer finalResult;

    @Column(name="MEMO")
    @ApiParam("备注")
    private String memo;

    @Column(name="REPAIR_FLAG")
    @ApiParam("维修标识")
    private Integer repairFlag;


}
