package com.yuchen.saas.park.api.commons.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.Nullable;
import javax.validation.constraints.Positive;
import java.time.LocalDateTime;

/**
 * 配置设置
 */
@Data
public class DoorAccessControlConfigSettingOne {
    @Positive
    private long id;
    @Positive
    private long timeConfigId;

    /**
     * 有效的起讫时间, = null -> 不限
     */
    @Nullable
    private LocalDateTime effectiveStartTime;
    @Nullable
    private LocalDateTime effectiveEndTime;
}
