added model ing

This commit is contained in:
snoop 2017-07-03 15:01:52 +09:00
parent 9fe4111e2d
commit dabc9777a4
8 changed files with 29 additions and 0 deletions

View File

View File

@ -0,0 +1,12 @@
import Domain from 'domain/api/model/Domain';
export interface ApiKey {
id: number;
apiKey: string;
createDate: Date;
domain: Domain;
}
export default ApiKey;

View File

@ -0,0 +1,7 @@
import Service from 'commons/api/Service';
import ApiKey from '../model/ApiKey';
export class ApiKeyService extends Service {
}

View File

View File

@ -0,0 +1,10 @@
interface Domain {
id: number;
name: string;
createDate: Date;
}
export default Domain;