package com.bcxin.tenant.domain.configs;

import com.bcxin.tenant.domain.readers.TenantDbReader;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "tenant.config")
@Component
public class TenantUserConfig {
    private TenantDbReader tenantDbReader;
    private  String code;
    private  String region;
    private boolean intranet = false;
    /**
     * 入职日期必须是当天的校验开关，默认启用
     */
    private boolean hiredDateMustBeToday = true;
}
