/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.dm.dmAttendanceRecord.service.dto;

import lombok.Data;
import me.zhengjie.modules.dm.dmCard.domain.DmCard;
import me.zhengjie.modules.dmuser.domain.DmUser;
import me.zhengjie.ykt.domain.DmRoomDevice;

import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author juan
* @date 2021-11-23
**/
@Data
public class DmAttendanceRecordDto implements Serializable {

    private Long id;

//    /** 用户 */
//    private String userNumber;
//
    /** 卡号 */
    private String cardNumber;

    /** 门禁设备编号 */
    private String roomDevice;

    /** 门禁设备 */
    private DmRoomDevice dmRoomDevice;

    private DmUser dmUser;
//    private String cardNumber;
//    private DmRoomDevice roomDevice;

    /** 考勤属性 */
    private String property;

    /** 考勤时间 */
    private Timestamp attendanceTime;

    /** 考勤照片 */
    private String attendancePhoto;

    private Boolean open;
}