added model ing
This commit is contained in:
parent
9fe4111e2d
commit
dabc9777a4
12
src/ts/apikey/api/model/ApiKey.ts
Normal file
12
src/ts/apikey/api/model/ApiKey.ts
Normal 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;
|
7
src/ts/apikey/api/service/ApiKeyService.ts
Normal file
7
src/ts/apikey/api/service/ApiKeyService.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import Service from 'commons/api/Service';
|
||||||
|
import ApiKey from '../model/ApiKey';
|
||||||
|
|
||||||
|
|
||||||
|
export class ApiKeyService extends Service {
|
||||||
|
|
||||||
|
}
|
10
src/ts/domain/api/model/Domain.ts
Normal file
10
src/ts/domain/api/model/Domain.ts
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
interface Domain {
|
||||||
|
id: number;
|
||||||
|
name: string;
|
||||||
|
createDate: Date;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export default Domain;
|
Loading…
Reference in New Issue
Block a user