package com.aiotagro.cattletrade.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Carson
 * @package_name com.aiotagro.payinfo.properties
 * @date 2024/2/6 14:18
 */
@Data
@Component
@ConfigurationProperties(prefix = "paydatainfo.tenant")
public class TenantConfigProperties {

    /*
    ** * 租户表字段名
     */
    private String column = "tenant_id";



    /**
     * 不是多租户的表
     **/
    private List<String> tables = new ArrayList<>();

}
