package com.yuchen.saas.park.api.entity.door.card;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yuchen.saas.park.api.commons.entity.SimpleEntity;
import lombok.Data;

import javax.validation.constraints.Positive;
import javax.validation.constraints.PositiveOrZero;

/**
 * 门禁卡-生物特征
 */
@TableName
@Data
public class DoorAccessControlCardBiometrics extends SimpleEntity {
    @Positive
    private long doorAccessControlCardId;

    /**
     * 当前人脸和指纹直接与用户关联:直接使用userId
     */
    @PositiveOrZero
    private long userFacialId;

    @PositiveOrZero
    private long userFingerprintId;
}
