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 @ApiModel("网关上下线记录") @TableName("yw_conditioner_gateway_log") public class YwConditionerGatewayLog 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; private Integer gatewayId; private String wgMac; private String oldStatus; private String newStatus; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date logTime; @ApiModelProperty("manual/schedule") private String source; @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date logTimeBegin; @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date logTimeEnd; }