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; /** * 电表充值记录Model定义 * @author doumee * @date 2026-05-20 15:25:57 */ @Data @TableName("yw_electrical_charge") @ApiModel(value = "电表充值记录实体类") public class YwElectricalCharge extends LoginUserModel { @ApiModelProperty("主键") @ExcelColumn(name="主键",index=1 ,width=10) @TableId(type = IdType.AUTO) private Integer id; @ApiModelProperty("创建人编码") @ExcelColumn(name="创建人编码",index=2 ,width=10) private Integer creator; @ApiModelProperty("创建时间") @ExcelColumn(name="创建时间",index=3 ,width=10) private Date createDate; @ApiModelProperty("更新人编码") @ExcelColumn(name="更新人编码",index=4 ,width=10) private Integer editor; @ApiModelProperty("更新时间") @ExcelColumn(name="更新时间",index=5 ,width=10) private Date editDate; @ApiModelProperty("是否删除0否 1是") @ExcelColumn(name="是否删除0否 1是",index=6 ,width=10) private Integer isdeleted; @ApiModelProperty("备注") @ExcelColumn(name="备注",index=7 ,width=10) private String remark; @ApiModelProperty("业务类型 0电表 1空调") @ExcelColumn(name="业务类型 0电表 1空调",index=8 ,width=10) private Integer type; @ApiModelProperty("房源编码集合,英文逗号隔开(关联yw_room)") @ExcelColumn(name="房源编码集合,英文逗号隔开(关联yw_room)",index=9 ,width=10) private String roomIds; @ApiModelProperty("关联主键(电表关联:yw_electrical;空调关联:yw_conditioner)") @ExcelColumn(name="关联主键(电表关联:yw_electrical;空调关联:yw_conditioner)",index=10 ,width=10) private Integer objId; @ApiModelProperty("表号") @ExcelColumn(name="表号",index=11 ,width=10) private String address; @ApiModelProperty("表名") @ExcelColumn(name="表名",index=12 ,width=10) private String name; @ApiModelProperty("所属公司主键(关联wy_company)") @ExcelColumn(name="所属公司主键(关联wy_company)",index=13 ,width=10) private Integer companyId; @ApiModelProperty("客户主键(关联yw_customer)") @ExcelColumn(name="客户主键(关联yw_customer)",index=14 ,width=10) private Integer customerId; @ApiModelProperty("入账日期") @ExcelColumn(name="入账日期",index=15 ,width=10) private Date incomeTime; @ApiModelProperty("充值金额(元)") @ExcelColumn(name="充值金额(元)",index=16 ,width=10) private BigDecimal money; @ApiModelProperty("状态 0=充值中;1=充值成功;2=充值失败;") @ExcelColumn(name="状态 0=充值中;1=充值成功;2=充值失败;",index=17 ,width=10) private Integer status; @ApiModelProperty("充值记录编码") @ExcelColumn(name="充值记录编码",index=18 ,width=10) private String oprId; @ApiModelProperty("采集器号") @ExcelColumn(name="采集器号",index=19 ,width=10) private String cId; @ApiModelProperty("充值参数") @ExcelColumn(name="充值参数",index=20 ,width=10) private String params; @ApiModelProperty("充值状态更新时间") @ExcelColumn(name="充值状态更新时间",index=21 ,width=10) private Date statusTime; @ApiModelProperty("充值状态备注") @ExcelColumn(name="充值状态备注",index=22 ,width=10) private String statusInfo; @ApiModelProperty("房源名称集合关联yw_room)") @ExcelColumn(name="房源名称集合关联yw_room)",index=23 ,width=10) private String roomNames; @ApiModelProperty("账户主键(关联wy_account)") @ExcelColumn(name="账户主键(关联wy_account)",index=24 ,width=10) private Integer accountId; @ApiModelProperty("充值前账号余额(元)") @ExcelColumn(name="充值前账号余额(元)",index=25 ,width=10) private BigDecimal banlance; @ApiModelProperty("选择电表参数直接(yw_electrical_param)") @ExcelColumn(name="选择电表参数直接(yw_electrical_param)",index=26 ,width=10) private Integer paramId; @TableField(exist = false) private String meterKeyword; }