Houjie
2025-05-23 c5daf9399f292e5b21deff9d5a8ac60fb4c377ab
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
139
140
141
142
143
144
145
146
147
148
149
150
package org.jeecg.modules.tms.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
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.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
/**
 * @Description: 损耗单
 * @Author: jeecg-boot
 * @Date: 2025-05-21
 * @Version: V1.0
 */
 
@ApiModel(value = "tms_loss_bound对象", description = "损耗单")
@Data
@TableName("tms_loss_bound")
public class ToolsLossBound implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
 
    /**
     * losser
     */
    @Excel(name = "报损人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "losser")
    private String losser;
 
    /**
     * 报损单号
     */
    @Excel(name = "orderCode", width = 15)
    @ApiModelProperty(value = "orderCode")
    private String orderCode;
 
    /**
     * 经手人
     */
    @Excel(name = "经手人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "经手人")
    private String handler;
 
    /**
     * 报损时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报损时间")
    private java.util.Date lossTime;
 
    /**
     * 审核人
     */
    @Excel(name = "审核人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "reviewer")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private String reviewer;
    /**
     * 审核时间
     */
    @Excel(name = "approvalDate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date approvalDate;
    /**
     * 审核状态
     */
    @Excel(name = "orderStatus", width = 15)
    @ApiModelProperty(value = "orderStatus")
    @Dict(dicCode = "out_bill_status")
    private String orderStatus;
    /**
     * 审核意见
     */
    @Excel(name = "approvalOpinion", width = 15)
    @ApiModelProperty(value = "approvalOpinion")
    private String approvalOpinion;
    /**
     * 报损原因
     */
    @Excel(name = "lossReason", width = 15)
    @ApiModelProperty(value = "lossReason")
    private String lossReason;
    /**
     * 备注
     */
    @Excel(name = "remark", width = 15)
    @ApiModelProperty(value = "remark")
    private String remark;
    /**
     * 租户号
     */
    @Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
    private String tenantId;
 
 
    /**创建人*/
    @Excel(name = "createdBy", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建人
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * 更新人
     */
    @Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
    private String updateBy;
    /**
     * 更新时间
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
 
 
    @TableField(exist = false)
    private List<ToolsLossBoundDetail> toolsLossBoundDetailList;
 
 
}