New file |
| | |
| | | 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.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.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; |
| | | } |