package com.sptg.gateway.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * title: AccessRecordsApi
 * package: com.sptg.estate.biz.security
 * description: 密码开门记录接口数据返回
 *
 *               
 *                     
 */
@Setter
@Getter
public class AccessRecordsApi {

    private Long id;

    private String deviceName;
    /**
     * 访客类型：0-朋友  1-外卖 2-快递 3-其他
     */
    private Integer accessUserType;

    private String installPath;
    /**
     * 密码
     */
    private String accessCardNo;

    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone="GMT+8")
    private Date accessDate;

    private Integer isOut;
}
