package com.doumee.dao.business.model; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.doumee.core.model.LoginUserModel; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; @Data @TableName("yw_electrical_actions") @ApiModel("电表远程操作记录") public class YwElectricalActions extends LoginUserModel { @TableId(type = IdType.AUTO) private Integer id; private Integer creator; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createDate; private Integer editor; private Date editDate; private Integer isdeleted; private String remark; @ApiModelProperty("电表ID") private Integer electricalId; @ApiModelProperty("操作类型 1预付费清零 2后付费清零 3远程销户 4拉闸 5合闸 6开户 7充值 8抄表 9保电 10解除保电") private Integer actionType; private String oprId; private String requestBody; private String responseBody; @ApiModelProperty("0处理中 1成功 2失败") private Integer status; private String resultMsg; @TableField(exist = false) @ApiModelProperty("电表名称") private String electricalName; @TableField(exist = false) @ApiModelProperty("电表地址") private String electricalAddress; @TableField(exist = false) @ApiModelProperty("操作开始时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date operateTimeBegin; @TableField(exist = false) @ApiModelProperty("操作结束时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date operateTimeEnd; }