doum
8 天以前 5f9bf98779e2c3e69324d75849efdda00868da4f
server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwElectricalLog.java
@@ -1,7 +1,8 @@
package com.doumee.dao.business.model;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.model.LoginUserModel;
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;
@@ -10,77 +11,61 @@
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.math.BigDecimal;
/**
 * 电器类操作日志
 * @author renkang
 * @date 2026/04/03
 * 电器类操作日志Model定义
 * @author doumee
 * @date 2026-05-20 15:25:58
 */
@Data
@ApiModel("电器类操作日志")
@TableName("`yw_electrical_log`")
public class YwElectricalLog extends LoginUserModel {
@TableName("yw_electrical_log")
@ApiModel(value = "电器类操作日志实体类")
public class YwElectricalLog  extends LoginUserModel {
    @ApiModelProperty("主键")
    @ExcelColumn(name="主键",index=1 ,width=10)
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
    @ExcelColumn(name = "主键")
    private Integer id;
    @ApiModelProperty(value = "创建人编码", example = "1")
    @ExcelColumn(name = "创建人编码")
    @ApiModelProperty("创建人编码")
    @ExcelColumn(name="创建人编码",index=2 ,width=10)
    private Integer creator;
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    @ExcelColumn(name="创建时间",index=3 ,width=10)
    private Date createDate;
    @ApiModelProperty(value = "更新人编码", example = "1")
    @ExcelColumn(name = "更新人编码")
    @ApiModelProperty("更新人编码")
    @ExcelColumn(name="更新人编码",index=4 ,width=10)
    private Integer editor;
    @ApiModelProperty(value = "更新时间")
    @ExcelColumn(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    @ExcelColumn(name="更新时间",index=5 ,width=10)
    private Date editDate;
    @ApiModelProperty(value = "是否删除0否 1是", example = "0")
    @ExcelColumn(name = "是否删除0否 1是")
    @ApiModelProperty("是否删除0否 1是")
    @ExcelColumn(name="是否删除0否 1是",index=6 ,width=10)
    private Integer isdeleted;
    @ApiModelProperty(value = "备注")
    @ExcelColumn(name = "备注")
    @ApiModelProperty("备注")
    @ExcelColumn(name="备注",index=7 ,width=10)
    private String remark;
    @ApiModelProperty(value = "设备类型 0电表 1空调", example = "0")
    @ExcelColumn(name = "设备类型")
    @ApiModelProperty("设备类型 0电表 1空调")
    @ExcelColumn(name="设备类型 0电表 1空调",index=8 ,width=10)
    private Integer deviceType;
    @ApiModelProperty(value = "类型 0调用 1推送接受", example = "0")
    @ExcelColumn(name = "类型")
    @ApiModelProperty("类型 0调用 1推送接受")
    @ExcelColumn(name="类型 0调用 1推送接受",index=9 ,width=10)
    private Integer type;
    @ApiModelProperty(value = "接口名称")
    @ExcelColumn(name = "接口名称")
    @ApiModelProperty("接口名称")
    @ExcelColumn(name="接口名称",index=10 ,width=10)
    private String name;
    @ApiModelProperty(value = "地址信息")
    @ExcelColumn(name = "地址信息")
    @ApiModelProperty("地址信息")
    @ExcelColumn(name="地址信息",index=11 ,width=10)
    private String url;
    @ApiModelProperty(value = "请求参数")
    @ExcelColumn(name = "请求参数")
    @ApiModelProperty("请求参数")
    @ExcelColumn(name="请求参数",index=12 ,width=10)
    private String request;
    @ApiModelProperty(value = "响应参数")
    @ExcelColumn(name = "响应参数")
    private String reponse;
    @ApiModelProperty(value = "调用结果 0成功 1失败", example = "0")
    @ExcelColumn(name = "调用结果")
    @ApiModelProperty("响应参数")
    @ExcelColumn(name="响应参数",index=13 ,width=10)
    private String repose;
    @ApiModelProperty("调用结果 0成功 1失败")
    @ExcelColumn(name="调用结果 0成功 1失败",index=14 ,width=10)
    private Integer success;
    @ApiModelProperty(value = "关联对象编码(多个用英文逗号隔开)")
    @ExcelColumn(name = "关联对象编码")
    @ApiModelProperty("关联对象编码(多个用英文逗号隔开)")
    @ExcelColumn(name="关联对象编码(多个用英文逗号隔开)",index=15 ,width=10)
    private String objId;
}