| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import com.doumee.core.model.LoginUserModel; |
| | | 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 com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | |
| | |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | @ApiModelProperty(value = "主键", example = "1") |
| | | @ExcelColumn(name="主键") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "创建人编码", example = "1") |
| | | @ExcelColumn(name="创建人编码") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @ExcelColumn(name="创建时间") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "更新人编码", example = "1") |
| | | @ExcelColumn(name="更新人编码") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "更新时间") |
| | | @ExcelColumn(name="更新时间") |
| | | @ExcelColumn(name="最近操作时间",index = 5, width = 18,dateFormat="yyyy-MM-dd HH:mm") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "是否删除0否 1是", example = "1") |
| | | @ExcelColumn(name="是否删除0否 1是") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | @ExcelColumn(name="备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty(value = "时间(年月)") |
| | | @ExcelColumn(name="时间(年月)") |
| | | @ExcelColumn(name="使用月份",index = 2, width = 12,dateFormat="yyyy-MM") |
| | | private Date timeInfo; |
| | | |
| | | @ApiModelProperty(value = "排序码", example = "1") |
| | | @ExcelColumn(name="排序码") |
| | | private Integer sortnum; |
| | | |
| | | @ApiModelProperty(value = "类型 0用电 1用电 2油耗", example = "1") |
| | | @ExcelColumn(name="类型 0用电 1用电 2油耗") |
| | | @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="数量 (用电顿,用电度; 油耗L)") |
| | | @ExcelColumn(name="数量",index = 3, width = 10) |
| | | private BigDecimal num; |
| | | |
| | | @ApiModelProperty(value = "说明") |
| | | @ExcelColumn(name="说明") |
| | | @ExcelColumn(name="说明",index = 4, width = 20) |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "车牌号") |
| | | @ExcelColumn(name="车牌号") |
| | | @ExcelColumn(name="车牌号",index = 1, width = 10) |
| | | private String carCode; |
| | | |
| | | @ApiModelProperty(value = "开始时间") |
| | | @TableField(exist = false) |
| | | private Date startTime; |
| | | private String startTime; |
| | | @ApiModelProperty(value = "年月时间") |
| | | @TableField(exist = false) |
| | | private String timeInfoStr; |
| | | @ApiModelProperty(value = "开始时间") |
| | | @TableField(exist = false) |
| | | private Date endTime; |
| | | private String endTime; |
| | | } |