MrShi
2025-02-07 364d3221b9a8e6dd3a19701d30c4dc4239ef8abf
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
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.math.BigDecimal;
 
/**
 * 月台_用水用气信息记录表
 * @author 江蹄蹄
 * @date 2024/08/26 16:22
 */
@Data
@ApiModel("月台_用水用气信息记录表")
@TableName("`platform_water_gas`")
public class PlatformWaterGas  extends LoginUserModel {
 
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    private Integer creator;
 
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    private Integer editor;
 
    @ApiModelProperty(value = "更新时间")
    @ExcelColumn(name="最近操作时间",index = 5,dateFormat="yyyy-MM-dd HH:mm")
    private Date editDate;
 
    @ApiModelProperty(value = "是否删除0否 1是", example = "1")
    private Integer isdeleted;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "时间(年月)")
    @ExcelColumn(name="使用月份",index = 2,dateFormat="yyyy-MM")
    private Date timeInfo;
 
    @ApiModelProperty(value = "排序码", example = "1")
    private Integer sortnum;
 
    @ApiModelProperty(value = "类型 0用水 1用气 2用油 3", example = "1")
    @ExcelColumn(name="类型",valueMapping = "0=用水;1=用气;2=用油;3=烟箱;",index = 0)
    private Integer type;
 
    @ApiModelProperty(value = "数量 (用电顿,用电度; 油耗L)", example = "1")
    @ExcelColumn(name="数量",index = 3)
    private BigDecimal num;
 
    @ApiModelProperty(value = "说明")
    @ExcelColumn(name="说明",index = 4)
    private String content;
 
    @ApiModelProperty(value = "车牌号")
    @ExcelColumn(name="车牌号",index = 1)
    private String carCode;
 
    @ApiModelProperty(value = "开始时间")
    @TableField(exist = false)
    private Date startTime;
    @ApiModelProperty(value = "年月时间")
    @TableField(exist = false)
    private String timeInfoStr;
    @ApiModelProperty(value = "开始时间")
    @TableField(exist = false)
    private Date endTime;
}