import "reflect-metadata";
const accessControlSymbol = Symbol("ColumnBillingAccessControl");
export default (accessControl) => {
    return Reflect.metadata(accessControlSymbol, accessControl);
};
export const getColumnBillingAccessControl = (target, propertyKey) => {
    return Reflect.getMetadata(accessControlSymbol, target, propertyKey);
};
export const getColumnBillingAccessControlForAllColumns = (target) => {
    const dictonary = {};
    const keys = Object.keys(target);
    for (const key of keys) {
        if (Reflect.getMetadata(accessControlSymbol, target, key)) {
            dictonary[key] = Reflect.getMetadata(accessControlSymbol, target, key);
        }
    }
    return dictonary;
};
//# sourceMappingURL=ColumnBillingAccessControl.js.map