Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Entity } from '../entity.js';
import { CountryTax } from './country_tax.js';
import { User } from './user.js';
import { Company } from './company.js';
export class SubscriptionPlan extends Entity {
protected static resourceName = 'subscription_plans';
protected static singularName = 'subscriptionPlan';
protected static pluralName = 'subscriptionPlans';
@SubscriptionPlan.property()
public id?: number;
@SubscriptionPlan.property({type: Date})
public created?: Date | null;
@SubscriptionPlan.property({type: Date})
public updated?: Date | null;
@SubscriptionPlan.property({type: User})
public createdBy?: User | null;
@SubscriptionPlan.property({type: User})
public updatedBy?: User | null;
@SubscriptionPlan.property()
public name?: string;
@SubscriptionPlan.property()
public currency?: string;
@SubscriptionPlan.property({type: CountryTax})
public tax?: CountryTax | null;
@SubscriptionPlan.property()
public baseCost?: number;
@SubscriptionPlan.property()
public whiteLabelDomainCost?: number;
@SubscriptionPlan.property()
public perSmsCost?: number;
@SubscriptionPlan.property()
public perUserCost?: number;
@SubscriptionPlan.property()
public perDomainCost?: number;
@SubscriptionPlan.property()
public transactionCost?: number;
@SubscriptionPlan.property()
public commissionRate?: number;
@SubscriptionPlan.property()
public baseUserCount?: number;
@SubscriptionPlan.property()
public baseDomainCount?: number;
@SubscriptionPlan.property()
public billingCycleDays?: number;
@SubscriptionPlan.property()
public isPrivate?: boolean;
@SubscriptionPlan.property()
public showPublic?: boolean;
@SubscriptionPlan.property({arrayType: 'Company'})
public companies?: Company[];
}
|