package com.doumee.dao.business.model; import com.baomidou.mybatisplus.annotation.TableField; import com.doumee.core.annotation.excel.ExcelColumn; import com.doumee.service.business.third.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 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, width = 18,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, width = 12,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=烟箱;", width = 10,index = 0) private Integer type; @ApiModelProperty(value = "数量 (用电顿,用电度; 油耗L)", example = "1") @ExcelColumn(name="数量",index = 3, width = 10) private BigDecimal num; @ApiModelProperty(value = "说明") @ExcelColumn(name="说明",index = 4, width = 20) private String content; @ApiModelProperty(value = "车牌号") @ExcelColumn(name="车牌号",index = 1, width = 10) private String carCode; @ApiModelProperty(value = "开始时间") @TableField(exist = false) private String startTime; @ApiModelProperty(value = "年月时间") @TableField(exist = false) private String timeInfoStr; @ApiModelProperty(value = "开始时间") @TableField(exist = false) private String endTime; }