@sourceloop/ctrl-plane-subscription-service
Version:
Subscription management microservice for SaaS control plane.
60 lines (50 loc) • 931 B
text/typescript
import {model, Model, property} from '@loopback/repository';
import {AddressDto} from './address-dto.model';
import {Options} from 'loopback4-billing';
export class CustomerDto extends Model {
id?: string;
firstName: string;
lastName: string;
email: string;
company: string;
phone: string;
billingAddress: AddressDto;
options?: Options;
constructor(data?: Partial<CustomerDto>) {
super(data);
}
}