@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
15 lines (14 loc) • 571 B
TypeScript
import type { PartnerProfile, TenantDto, TenantPartnerDto } from '@citrineos/base';
import { Model } from 'sequelize-typescript';
import { Authorization } from './Authorization/index.js';
export declare class TenantPartner extends Model implements TenantPartnerDto {
static readonly MODEL_NAME: string;
partyId: string;
countryCode: string;
partnerProfileOCPI: PartnerProfile;
authorizations: Authorization[];
tenantId: number;
tenant?: TenantDto;
static setDefaultTenant(instance: TenantPartner): void;
constructor(...args: any[]);
}