chenlu
2024-03-15 74bb31c344b2c66239bfa7f17fd5dc3bd3e2172f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
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.OrderDetail;
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
    private Integer id;
    //报工编号
    private String reportingWorkId;
    //销售单号
    private String orderId;
    //生产订单号
    private String productionId;
    //流程卡号
    private String processId;
    //设备编号
    private String deviceId;
    //设备名称
    private String deviceName;
    //上工序
    private String previousProcess;
    //上工序数量
    private Integer previousProcessQuantity;
    //本工序
    private String thisProcess;
    //上工序数量
    private int thisProcessQuantity;
    //本工序完工数量
    private int thisCompletedQuantity;
    //本工序次破数量
    private int thisWornQuantity;
    //下工序
    private String nextProcess;
    //班次
    private String classes;
    //班组编号
    private String teamsGroupsId;
    //班组名称
    private String teamsGroupsName;
    //报工状态
    private Integer reportingWorkState;
    //审核人
    private String reviewed;
    //审核状态
    private Integer reviewedState;
    //备注
    private String notes;
    //质检员
    private String qualityInspector;
    //包装方式
    private String packagingMethod;
    //报工时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime reportingWorkTime;
    //审核时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime examineTime;
    //质检时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime qualityInsTime;
    //建立时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime 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 DamageDetails damageDetails;
 
    @TableField(select = false,exist= false)
    private OrderDetail orderDetail ;
 
 
    //定义的完工面积
    @TableField(select = false,exist= false)
    private String completedArea;
    //次破面积
    @TableField(select = false,exist= false)
    private String wornArea;
}