14 lines
471 B
TypeScript
14 lines
471 B
TypeScript
import { String, Text, Price } from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { EntityDesc } from 'oak-domain/lib/types';
|
|
import { Schema as User } from './User';
|
|
import { Schema as System } from './System';
|
|
export interface Schema extends EntityShape {
|
|
price: Price;
|
|
externalId: String<64>;
|
|
operator: User;
|
|
remark?: Text;
|
|
system: System;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema>;
|