UNPKG

@sourceloop/ctrl-plane-subscription-service

Version:

Subscription management microservice for SaaS control plane.

21 lines (17 loc) 339 B
import {Entity, model, property} from '@loopback/repository'; @model() export class ChargeDto extends Entity { @property({ type: 'number', required: true, }) amount: number; @property({ type: 'string', required: true, }) description: string; constructor(data?: Partial<ChargeDto>) { super(data); } }