Browse Source
feat(inspection): 添加我的验货清单数据对象
feat(inspection): 添加我的验货清单数据对象
- 创建 MyInspectionListVO 类继承 QueryPage - 定义验货相关字段包括站点、申请单号、行号等基本信息 - 添加订单参考、料号、物料描述等物料信息 - 包含数量、状态、检验单号、检验结果等检验数据 - 关联供应商编号、供应商名称、QC人员等头表信息 - 设置建议验货日期、计划开始结束日期等时间字段 - 添加验货地址、联系人等地址联系方式 - 配置日期格式化注解支持 yyyy-MM-dd 格式master
1 changed files with 121 additions and 0 deletions
@ -0,0 +1,121 @@ |
|||
package com.xujie.modules.inspection.data; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.xujie.common.utils.QueryPage; |
|||
import lombok.Data; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 我的验货清单VO |
|||
*/ |
|||
@Data |
|||
@TableName("srm_inspect_request_detail") |
|||
public class MyInspectionListVO extends QueryPage { |
|||
|
|||
/** |
|||
* 站点/工厂编码 |
|||
*/ |
|||
private String site; |
|||
|
|||
/** |
|||
* 申请单号 |
|||
*/ |
|||
private String requestNo; |
|||
|
|||
/** |
|||
* 行号 |
|||
*/ |
|||
private Integer itemNo; |
|||
|
|||
/** |
|||
* 订单参考1 |
|||
*/ |
|||
private String orderRef1; |
|||
|
|||
/** |
|||
* 料号 |
|||
*/ |
|||
private String partNo; |
|||
|
|||
/** |
|||
* 物料描述(从 part 表关联查询) |
|||
*/ |
|||
private String partDesc; |
|||
|
|||
/** |
|||
* 数量 |
|||
*/ |
|||
private BigDecimal qty; |
|||
|
|||
/** |
|||
* 状态 |
|||
*/ |
|||
private String status; |
|||
|
|||
/** |
|||
* 数据库状态 |
|||
*/ |
|||
private String statusDb; |
|||
|
|||
/** |
|||
* 检验单号 |
|||
*/ |
|||
private String inspectNo; |
|||
|
|||
/** |
|||
* 检验结果 |
|||
*/ |
|||
private String inspectResult; |
|||
|
|||
// ========== 以下从头表关联查询 ========== |
|||
|
|||
/** |
|||
* 供应商编号 |
|||
*/ |
|||
private String supplierNo; |
|||
|
|||
/** |
|||
* 供应商名称 |
|||
*/ |
|||
private String supplierName; |
|||
|
|||
/** |
|||
* QC人员 |
|||
*/ |
|||
private String qcOperator; |
|||
|
|||
/** |
|||
* 建议验货日期 |
|||
*/ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date needInspectDate; |
|||
|
|||
/** |
|||
* 计划开始日期 |
|||
*/ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date planStartDate; |
|||
|
|||
/** |
|||
* 计划结束日期 |
|||
*/ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date planEndDate; |
|||
|
|||
/** |
|||
* 验货地址 |
|||
*/ |
|||
private String inspectAddress; |
|||
|
|||
/** |
|||
* 联系人 |
|||
*/ |
|||
private String inspectContract; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue