|
|
|
|
@ -25,16 +25,16 @@ |
|
|
|
|
*/ |
|
|
|
|
package org.springblade.scheduling.scheduling.entity; |
|
|
|
|
|
|
|
|
|
import lombok.Data; |
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
|
import java.math.BigDecimal; |
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
|
import lombok.Data; |
|
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
|
import org.springblade.core.mp.base.BaseEntity; |
|
|
|
|
import org.springblade.core.tenant.mp.TenantEntity; |
|
|
|
|
|
|
|
|
|
import java.io.Serial; |
|
|
|
|
import java.math.BigDecimal; |
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 车间作业计划 实体类 |
|
|
|
|
@ -47,6 +47,28 @@ import java.io.Serial; |
|
|
|
|
@Schema(description = "MesWorkPlan对象") |
|
|
|
|
@EqualsAndHashCode(callSuper = true) |
|
|
|
|
public class WorkPlanEntity extends BaseEntity { |
|
|
|
|
/** |
|
|
|
|
* TODO 工序状态要调整到常量类中 |
|
|
|
|
* 工序状态:未开始 |
|
|
|
|
*/ |
|
|
|
|
public static Integer STATUS_NO_START = 1; |
|
|
|
|
/** |
|
|
|
|
* 工序状态:加工中 |
|
|
|
|
*/ |
|
|
|
|
public static Integer STATUS_START = 2; |
|
|
|
|
/** |
|
|
|
|
* 工序状态:报工完成 |
|
|
|
|
*/ |
|
|
|
|
public static Integer STATUS_WORK_OK = 3; |
|
|
|
|
/** |
|
|
|
|
* 工序状态:已完成 |
|
|
|
|
*/ |
|
|
|
|
public static Integer STATUS_COMPLETE = 5; |
|
|
|
|
/** |
|
|
|
|
* 工序状态:已返工 |
|
|
|
|
*/ |
|
|
|
|
public static Integer STATUS_VOIDED = 6; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Serial |
|
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
@ -142,27 +164,27 @@ public class WorkPlanEntity extends BaseEntity { |
|
|
|
|
@Schema(description = "实际结束") |
|
|
|
|
private Date factEndTime; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private Short bindStatus; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private Integer workQty; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private Long receiveMan; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private BigDecimal hours; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private Long caId; |
|
|
|
|
@ -172,7 +194,7 @@ public class WorkPlanEntity extends BaseEntity { |
|
|
|
|
@Schema(description = "打印标记类型:1、生产过程") |
|
|
|
|
private Short printType; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private Long subsidiaryTeam; |
|
|
|
|
@ -202,7 +224,7 @@ public class WorkPlanEntity extends BaseEntity { |
|
|
|
|
@Schema(description = "工艺文件编号/版本号") |
|
|
|
|
private String papers; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
@Schema(description = "") |
|
|
|
|
private String referenceFile; |
|
|
|
|
|