6 天以前 1e123568c2f561013f5636e45dc0db30b17a3517
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
package com.ruoyi.stock.pojo;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
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 com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * 库存盘点主表
 */
@Data
@TableName("stock_check_main")
@Schema(name = "StockCheckMain", description = "库存盘点主表")
public class StockCheckMain implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    @Excel(name = "盘点单号")
    @Schema(description = "盘点单号")
    private String checkNo;
 
    @Excel(name = "盘点名称")
    @Schema(description = "盘点名称")
    private String checkName;
 
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description = "盘点日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate checkDate;
 
    @Excel(name = "盘点人")
    @Schema(description = "盘点人")
    private String checker;
 
    @Excel(name = "状态", readConverterExp = "0=盘点中,1=已完成,2=已取消")
    @Schema(description = "状态 0盘点中 1已完成 2已取消")
    private Integer status;
 
    @Excel(name = "盘点种类数")
    @Schema(description = "盘点种类数")
    private Integer totalKinds;
 
    @Excel(name = "差异种类数")
    @Schema(description = "差异种类数")
    private Integer diffKinds;
 
    @Excel(name = "备注")
    @Schema(description = "备注")
    private String remark;
 
    @TableField(exist = false)
    @Schema(description = "创建时间起(查询参数)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
 
    @TableField(exist = false)
    @Schema(description = "创建时间止(查询参数)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
 
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}