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:58 */ @Data @TableName("yw_electrical_log") @ApiModel(value = "电器类操作日志实体类") public class YwElectricalLog 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 deviceType; @ApiModelProperty("类型 0调用 1推送接受") @ExcelColumn(name="类型 0调用 1推送接受",index=9 ,width=10) private Integer type; @ApiModelProperty("接口名称") @ExcelColumn(name="接口名称",index=10 ,width=10) private String name; @ApiModelProperty("地址信息") @ExcelColumn(name="地址信息",index=11 ,width=10) private String url; @ApiModelProperty("请求参数") @ExcelColumn(name="请求参数",index=12 ,width=10) private String request; @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("关联对象编码(多个用英文逗号隔开)") @ExcelColumn(name="关联对象编码(多个用英文逗号隔开)",index=15 ,width=10) private String objId; }