package com.ximai.mes.pro.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ximai.common.annotation.Excel;
import com.ximai.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 开始作业记录表对象 pro_start_work
 *
 * @author generator
 * @date 2024-03-11
 */
@Data
public class ProStartWork extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId
    private Long startWorkId;

    /**
     * 任务ID
     */
    @Excel(name = "任务ID")
    private Long taskId;

    /**
     * 派工记录ID
     */
    @Excel(name = "派工记录ID")
    private Long taskWorkunitId;

    private String arrangeCode;
    /**
     * 工作单元ID
     */
    @Excel(name = "工作单元ID")
    private Long workunitId;

    private Integer recordType;
    /**
     * 次数
     */
    @Excel(name = "次数")
    private Integer idx;
    private Date startDate;
    private Date endDate;

    private Long workTimeSec;
    private Long breakTimeSec;

    private String recordUuid;
    private Integer pauseType;
    private String abnormalReason;
    private String abnormalDescribe;


}
