cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
package org.jeecg.modules.spare.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * @Description: 备件退库详情
 * @Author: jeecg-boot
 * @Date: 2023-07-04
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_spare_part_cancelling_stocks_detail")
@ApiModel(value = "mom_eam_spare_part_cancelling_stocks_detail对象", description = "备件退库详情")
public class SparePartCancellingStocksDetail extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
 
    /**
     * 出库单编号
     */
    @TableField(exist = false)
    private String sparePartPurchaseStorageNum;
 
 
    /**
     * 备件退库id
     */
    @ApiModelProperty(value = "备件退库id")
    private String sparePartCancellingId;
    /**
     * 备件id
     */
    @Excel(name = "备件id", width = 15)
    @ApiModelProperty(value = "备件id")
    private String sparePartId;
    /**
     * 备件库存id
     */
    @Excel(name = "备件库存id", width = 15)
    @ApiModelProperty(value = "备件库存id")
    private String sparePartInventoryId;
    /**
     * 批次号
     */
    @Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private String batchNum;
    /**
     * 出厂日期
     */
    @Excel(name = "出厂日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "出厂日期")
    private Date manufactureDate;
    /**
     * 供应商
     */
    @Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    @Dict(dictTable = "mom_base_supplier", dicCode = "id", dicText = "name")
    private String supplierId;
    /**
     * 主单位
     */
    @Excel(name = "主单位", width = 15)
    @ApiModelProperty(value = "主单位")
    @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
    private String mainUnitId;
    /**
     * 主数量
     */
    @Excel(name = "主数量", width = 15)
    @ApiModelProperty(value = "主数量")
    private Double mainQuantity;
    /**
     * 辅单位
     */
    @Excel(name = "辅单位", width = 15)
    @ApiModelProperty(value = "辅单位")
    @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
    private String auxiliaryUnitId;
    /**
     * 辅数量
     */
    @Excel(name = "辅数量", width = 15)
    @ApiModelProperty(value = "辅数量")
    private Double auxiliaryQuantity;
 
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
 
    /**
     * 库位
     */
    @Excel(name = "库位", width = 15)
    @ApiModelProperty(value = "库位")
    @Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "num")
    private String warehouseLocationId;
 
    /**
     * 库区
     */
    @Excel(name = "库区", width = 15)
    @ApiModelProperty(value = "库区")
    @Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "num")
    private String warehouseAreaId;
 
    /**状态(0未出库,1已出库)*/
    @Excel(name = "状态(0未出库,1已出库)", width = 15)
    @ApiModelProperty(value = "状态(0未出库,1已出库)")
    private String status;
 
    /**
     * 出库数量
     */
    @Excel(name = "出库数量", width = 15)
    @ApiModelProperty(value = "出库数量")
    private Double outboundMainQuantity;
 
 
}