chenlu
2024-03-15 e7b89d449afc3912c21a64d59bafd7737f7376fd
north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java
@@ -1,10 +1,18 @@
package com.example.erp.entity.pp;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.erp.entity.sd.DeliveryDetail;
import com.example.erp.entity.sd.Order;
import com.example.erp.entity.sd.OrderGlassDetail;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
public class ReportingWork {
    @TableId(type = IdType.AUTO)
    //自增id
@@ -28,19 +36,19 @@
    //本工序
    private String thisProcess;
    //上工序数量
    private Integer thisProcessQuantity;
    private int thisProcessQuantity;
    //本工序完工数量
    private Integer thisCompletedQuantity;
    private int thisCompletedQuantity;
    //本工序次破数量
    private Integer thisWornQuantity;
    private int thisWornQuantity;
    //下工序
    private String nextProcess;
    //班次
    private String classes;
    //班组编号
    private String teamsgroupsId;
    private String teamsGroupsId;
    //班组名称
    private String teamsgroupsName;
    private String teamsGroupsName;
    //报工状态
    private Integer reportingWorkState;
    //审核人
@@ -50,11 +58,12 @@
    //备注
    private String notes;
    //质检员
    private String qualityInsPector;
    private String qualityInspector;
    //包装方式
    private String packagingMethod;
    //报工时间
    private LocalDate reportingWorkTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime reportingWorkTime;
    //审核时间
    private LocalDate examineTime;
    //质检时间
@@ -64,6 +73,29 @@
    //修改时间
    private LocalDate updateTime;
    //创建者
    private String creatorId ;
    private String creator ;
    @TableField(select = false,exist= false)
    private Order order;
    //外键流程卡表
    @TableField(select = false,exist= false)
    private FlowCard flowCard;
//    @TableField(select = false,exist= false)
//    private ReportingWork reportingWork;
    @TableField(select = false,exist= false)
    private  ReportingWorkDetail reportingWorkDetail;
    @TableField(select = false,exist= false)
    private OrderGlassDetail orderGlassDetail;
    //定义的完工面积
    @TableField(select = false,exist= false)
    private String completedArea;
    //次破面积
    @TableField(select = false,exist= false)
    private String wornArea;
}