20 lines
510 B
TypeScript
20 lines
510 B
TypeScript
import { OrderBusinessStatusEnum } from '@services/module-payments/components/components.orders';
|
|
import { LineItemSchema } from '@src/orders/components/line.schema';
|
|
import { ObjectType, Field, InputType } from 'type-graphql';
|
|
|
|
@InputType()
|
|
@ObjectType()
|
|
export class ProviderSchema {
|
|
@Field()
|
|
_id: string;
|
|
|
|
@Field()
|
|
organisationId: string;
|
|
|
|
@Field(() => OrderBusinessStatusEnum)
|
|
orderStatus: OrderBusinessStatusEnum;
|
|
|
|
@Field(() => [LineItemSchema])
|
|
lines: LineItemSchema[];
|
|
}
|