package com.yuchen.saas.park.service.mapper.domain.config.details;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuchen.saas.park.api.config.LongToStringSerializer;
import lombok.Data;

/**
 * 门禁信息
 */
@Data
public class DoorAccessControlRO {
    /**
     * 门禁
     */
    @JsonSerialize(using = LongToStringSerializer.class)
    private long id;
    private String name;
    private String address;
    private String parkName;
    private String groupNames;

    @JsonSerialize(using = LongToStringSerializer.class)
    private long userFacialCount;
    @JsonSerialize(using = LongToStringSerializer.class)
    private long userFacialCapacity = 100000; //TODO

    @JsonSerialize(using = LongToStringSerializer.class)
    private long userFingerprintCount;
    @JsonSerialize(using = LongToStringSerializer.class)
    private long userFingerprintCapacity = 5000; //TODO
}
