XiaoRuby
2023-07-28 a33396e17dd847f31b62f416f7d9c5a58b79126b
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
package com.yuanchu.limslaboratory.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * <p>
 *
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MeteringPlan对象", description="")
public class MeteringPlan implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "Id主键", hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "计量负责人 关联用户表", example = "10", required = true)
    private Integer measurePerson;
 
    @ApiModelProperty(value = "创建人 关联用户表", example = "21", required = true)
    @TableField("create_Person")
    private Integer createPerson;
 
    @ApiModelProperty(value = "计划单号", hidden = true)
    private String plannedOrderNumber;
 
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @ApiModelProperty(value = "开始日期", example = "2023-07-06", required = true, dataType = "date")
    private Date beginTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @ApiModelProperty(value = "结束日期", example = "2023-07-06", required = true, dataType = "date")
    private Date endTime;
 
    @ApiModelProperty(value = "计划状态:三种:1:已完成;2:待提交;3:未完成", example = "1", required = true)
    private Integer planningStatus;
 
    @ApiModelProperty(value = "计量单位", example = "GB")
    private String unit;
 
    @TableLogic(value = "1", delval = "0")
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateTime;
 
    @ApiModelProperty(value = "乐观锁", hidden = true)
    private Integer version;
 
}