liyong
2026-07-10 80ddf4c9c0bcb0f6c31524e0d9f5599c8001e904
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
package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.in;
 
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
 
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
 
@Schema(description = "管理后台 - ERP 采购入库分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ErpPurchaseInPageReqVO extends PageParam {
 
    public static final Integer PAYMENT_STATUS_NONE = 0;
    public static final Integer PAYMENT_STATUS_PART = 1;
    public static final Integer PAYMENT_STATUS_ALL = 2;
 
    @Schema(description = "采购单编号", example = "XS001")
    private String no;
 
    @Schema(description = "供应商编号", example = "1724")
    private Long supplierId;
 
    @Schema(description = "入库时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] inTime;
 
    @Schema(description = "备注", example = "你猜")
    private String remark;
 
    @Schema(description = "入库状态", example = "2")
    private Integer status;
 
    @Schema(description = "创建者")
    private String creator;
 
    @Schema(description = "产品编号", example = "1")
    private Long productId;
 
    @Schema(description = "仓库编号", example = "1")
    private Long warehouseId;
 
    @Schema(description = "结算账号编号", example = "1")
    private Long accountId;
 
    @Schema(description = "付款状态", example = "1")
    private Integer paymentStatus;
 
    @Schema(description = "是否可付款", example = "true")
    private Boolean paymentEnable; // 对应 paymentStatus = [0, 1]
 
    @Schema(description = "采购单号", example = "1")
    private String orderNo;
 
}