zenglf
2023-08-19 d2d083528159fe9291a67f51886f98fe646efd95
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
package org.jeecg.modules.spare.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
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 java.io.Serializable;
import java.util.List;
 
/**
 * @Description: 备件领用申请单
 * @Author: jeecg-boot
 * @Date: 2023-06-26
 * @Version: V1.0
 */
@ApiModel(value = "mom_eam_spare_part_receive对象", description = "备件领用申请单")
@Data
@TableName("mom_eam_spare_part_receive")
public class SparePartReceive extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 申请单编码
     */
    @Excel(name = "申请单编码", width = 15)
    @ApiModelProperty(value = "申请单编码")
    private String num;
    /**
     * 仓库id
     */
    @Excel(name = "仓库id", width = 15)
    @ApiModelProperty(value = "仓库id")
    @Dict(dictTable = "mom_base_warehouse", dicText = "name", dicCode = "id")
    private java.lang.String warehouseId;
    /**
     * 领用部门ID
     */
    @Excel(name = "领用部门ID", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "领用部门ID")
    private java.lang.String departId;
    /**
     * 领用人id
     */
    @Excel(name = "领用人id", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
    @ApiModelProperty(value = "领用人id")
    private String userId;
    /**
     * 状态(0已创建,1已提交,2已通过,3已驳回)
     */
    @Excel(name = "状态(0已创建,1已提交,2已通过,3已驳回)", width = 15)
    @ApiModelProperty(value = "状态(0已创建,1已提交,2已通过,3已驳回)")
    @Dict(dicCode = "purchase_storage_status")
    private String status;
 
    /**
     * 删除状态(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 = "审批意见")
    private String approvalOpinions;
 
 
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
 
 
 
    @TableField(exist = false)
    List<SparePartReceiveDeatil> sparePartReceiveDeatilList;
}