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
package com.ruoyi.stock.dto;
 
import com.ruoyi.stock.pojo.ProductBorrow;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.util.List;
 
/**
 * 产品领用DTO
 *
 * @author ruoyi
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "产品领用DTO")
public class ProductBorrowDto extends ProductBorrow {
 
    @Schema(description = "产品名称")
    private String productName;
 
    @Schema(description = "规格型号")
    private String model;
 
    @Schema(description = "产品编码")
    private String productCode;
 
    @Schema(description = "单位")
    private String unit;
 
    @Schema(description = "剩余可归还数量")
    private java.math.BigDecimal remainingQuantity;
 
    @Schema(description = "审批状态名称")
    private String approvalStatusName;
 
    @Schema(description = "归还状态名称")
    private String statusName;
 
    @Schema(description = "批量审批ID列表")
    private List<Long> ids;
 
    @Schema(description = "审批状态(用于审批操作)")
    private Integer approvalStatusParam;
 
    @Schema(description = "顶部父产品ID(产品分类ID)")
    private Long topParentProductId;
}