#
lsh
2024-09-05 d26b4835feb289d37e3e815117080075e7fc79e8
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
package com.zy.asrs.common.wms.entity;
 
import java.text.SimpleDateFormat;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.zy.asrs.framework.common.Cools;
import com.zy.asrs.framework.common.SpringUtils;
import com.zy.asrs.common.sys.entity.User;
import com.zy.asrs.common.sys.entity.Host;
import com.zy.asrs.common.sys.service.UserService;
import com.zy.asrs.common.sys.service.HostService;
 
import java.io.Serializable;
import java.util.Date;
 
@Data
@TableName("wms_loc_in_print_mat")
public class LocInPrintMat implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value= "")
    private Long id;
 
    @ApiModelProperty(value= "")
    private String uuid;
 
    @ApiModelProperty(value= "")
    private Integer status;
 
    @ApiModelProperty(value= "")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    @ApiModelProperty(value= "")
    private Long createBy;
 
    @ApiModelProperty(value= "")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    @ApiModelProperty(value= "")
    private Long updateBy;
 
    @ApiModelProperty(value= "")
    private String memo;
 
    @ApiModelProperty(value= "")
    private String matnr;
 
    @ApiModelProperty(value= "")
    private String batch;
 
    @ApiModelProperty(value= "")
    private Double anfme;
 
    @ApiModelProperty(value= "")
    private String locNo;
 
    @ApiModelProperty(value= "")
    private String maktx;
 
    @ApiModelProperty(value= "")
    private Long ownerId;
 
    public LocInPrintMat() {}
 
    public LocInPrintMat(String uuid,Integer status,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo,String matnr,String batch,Double anfme,String locNo,String maktx,Long ownerId) {
        this.uuid = uuid;
        this.status = status;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateTime = updateTime;
        this.updateBy = updateBy;
        this.memo = memo;
        this.matnr = matnr;
        this.batch = batch;
        this.anfme = anfme;
        this.locNo = locNo;
        this.maktx = maktx;
        this.ownerId = ownerId;
    }
 
//    LocInPrintMat locInPrintMat = new LocInPrintMat(
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null    // 
//    );
 
    public String getCreateTime$(){
        if (Cools.isEmpty(this.createTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
    }
 
    public String getUpdateTime$(){
        if (Cools.isEmpty(this.updateTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
 
 
}