From dabc9777a441f0b519128e1331e012a206ca8169 Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 3 Jul 2017 15:01:52 +0900 Subject: [PATCH] added model ing --- src/ts/apikey/api/_ | 0 src/ts/apikey/api/model/ApiKey.ts | 12 ++++++++++++ src/ts/apikey/api/model/_ | 0 src/ts/apikey/api/service/ApiKeyService.ts | 7 +++++++ src/ts/apikey/api/service/_ | 0 src/ts/domain/api/_ | 0 src/ts/domain/api/model/Domain.ts | 10 ++++++++++ src/ts/domain/api/model/_ | 0 8 files changed, 29 insertions(+) delete mode 100644 src/ts/apikey/api/_ create mode 100644 src/ts/apikey/api/model/ApiKey.ts delete mode 100644 src/ts/apikey/api/model/_ create mode 100644 src/ts/apikey/api/service/ApiKeyService.ts delete mode 100644 src/ts/apikey/api/service/_ delete mode 100644 src/ts/domain/api/_ create mode 100644 src/ts/domain/api/model/Domain.ts delete mode 100644 src/ts/domain/api/model/_ diff --git a/src/ts/apikey/api/_ b/src/ts/apikey/api/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/apikey/api/model/ApiKey.ts b/src/ts/apikey/api/model/ApiKey.ts new file mode 100644 index 0000000..55a4017 --- /dev/null +++ b/src/ts/apikey/api/model/ApiKey.ts @@ -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; \ No newline at end of file diff --git a/src/ts/apikey/api/model/_ b/src/ts/apikey/api/model/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/apikey/api/service/ApiKeyService.ts b/src/ts/apikey/api/service/ApiKeyService.ts new file mode 100644 index 0000000..d692922 --- /dev/null +++ b/src/ts/apikey/api/service/ApiKeyService.ts @@ -0,0 +1,7 @@ +import Service from 'commons/api/Service'; +import ApiKey from '../model/ApiKey'; + + +export class ApiKeyService extends Service { + +} \ No newline at end of file diff --git a/src/ts/apikey/api/service/_ b/src/ts/apikey/api/service/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/domain/api/_ b/src/ts/domain/api/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/domain/api/model/Domain.ts b/src/ts/domain/api/model/Domain.ts new file mode 100644 index 0000000..137b5d4 --- /dev/null +++ b/src/ts/domain/api/model/Domain.ts @@ -0,0 +1,10 @@ + + +interface Domain { + id: number; + name: string; + createDate: Date; +} + + +export default Domain; \ No newline at end of file diff --git a/src/ts/domain/api/model/_ b/src/ts/domain/api/model/_ deleted file mode 100644 index e69de29..0000000