| package com.doumee.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import com.doumee.service.business.third.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; | 
|   | 
| /** | 
|  * 钥匙柜开关门记录 | 
|  * @author 江蹄蹄 | 
|  * @date 2025/09/28 09:01 | 
|  */ | 
| @Data | 
| @ApiModel("钥匙柜开关门记录") | 
| @TableName("`jk_cabinet_log`") | 
| public class JkCabinetLog  extends LoginUserModel { | 
|   | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     @TableId(type = IdType.AUTO) | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     private Integer creator; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="开门时间",index = 0,dateFormat = "yyyy-MM-dd HH:mm:ss",width = 16) | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1") | 
|     private Integer editor; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date editDate; | 
|   | 
|     @ApiModelProperty(value = "是否删除0否 1是", example = "1") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     private String info; | 
|   | 
|     @ApiModelProperty(value = "钥匙柜编码(关联jk_cabinet)", example = "1") | 
|     private Integer cabinetId; | 
|   | 
|     @ApiModelProperty(value = "钥匙柜格编码(关联jk_cabinet_grid)", example = "1") | 
|     private Integer gridId; | 
|   | 
|     @ApiModelProperty(value = "验证方式 0刷脸 1刷卡", example = "1") | 
|     @ExcelColumn(name="校验方式",index = 2,width = 10,valueMapping = "0=人脸;1=刷卡;2=管理授权;") | 
|     private Integer authType; | 
|   | 
|     @ApiModelProperty(value = "车辆编码(关联cars)", example = "1") | 
|     private Integer carId; | 
|   | 
|     @ApiModelProperty(value = "钥匙编码(关联jk_keys)", example = "1") | 
|     private Integer keyId; | 
|   | 
|     @ApiModelProperty(value = "人员编码(关联member)", example = "1") | 
|     private Integer memberId; | 
|   | 
|     @ApiModelProperty(value = "钥匙信息(车牌号-钥匙编码)") | 
|     @ExcelColumn(name="钥匙",index = 5,width = 16) | 
|     private String keyInfo; | 
|   | 
|     @ApiModelProperty(value = "领取规则 0随车 1随派车单", example = "1") | 
|     private Integer roleType; | 
|   | 
|     @ApiModelProperty(value = "状态 0成功 1失败", example = "1") | 
|     @ExcelColumn(name="状态",index = 6,width = 10,valueMapping = "0=成功;1=失败;") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "操作类型:0=开门;1=关门;", example = "1") | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "车牌号") | 
|     @TableField(exist = false) | 
|     private String carCode; | 
|   | 
|     @ApiModelProperty(value = "关门记录主键(借出记录使用)", example = "1") | 
|     private Integer closeLogId; | 
|   | 
|     @ApiModelProperty(value = "操作后钥匙状态:0未变化;1已归还;2已借出;", example = "1") | 
|     private Integer keyStatus; | 
|   | 
|   | 
|     @ApiModelProperty(value = "归还时间") | 
|     @TableField(exist = false) | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date returnDate; | 
|   | 
|     @ApiModelProperty(value = "操作人部门", example = "1",hidden = true) | 
|     @TableField(exist = false) | 
|     private String companyName; | 
|   | 
|     @ApiModelProperty(value = "操作人名称", example = "1") | 
|     @ExcelColumn(name="操作人",index = 1,width = 2) | 
|     @TableField(exist = false) | 
|     private String memberName; | 
|   | 
|     @ApiModelProperty(value = "钥匙柜名称", example = "1") | 
|     @ExcelColumn(name="所属钥匙柜",index = 3,width = 12) | 
|     @TableField(exist = false) | 
|     private String cabinetName; | 
|   | 
|     @ApiModelProperty(value = "柜格编号", example = "1") | 
|     @ExcelColumn(name="柜格编号",index = 4,width = 12) | 
|     @TableField(exist = false) | 
|     private String gridCode; | 
|   | 
|     @ApiModelProperty(value = "查询开始时间 yyyy-MM-dd ") | 
|     @TableField(exist = false) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date startDate; | 
|   | 
|     @ApiModelProperty(value = "查询结束时间 yyyy-MM-dd ") | 
|     @TableField(exist = false) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date endDate; | 
|   | 
| } |