mirror of https://github.com/abpframework/abp.git
5 changed files with 50 additions and 52 deletions
@ -1,27 +1,27 @@ |
|||||
import { TenantManagement } from '../models/tenant-management'; |
import { TenantManagement } from '../models/tenant-management'; |
||||
import { ABP } from '@abp/ng.core'; |
import { ABP } from '@abp/ng.core'; |
||||
|
|
||||
export class TenantManagementGet { |
export class GetTenant { |
||||
static readonly type = '[TenantManagement] Get'; |
static readonly type = '[TenantManagement] Get Tenant'; |
||||
constructor(public payload?: ABP.PageQueryParams) {} |
constructor(public payload?: ABP.PageQueryParams) {} |
||||
} |
} |
||||
|
|
||||
export class TenantManagementGetById { |
export class GetTenantById { |
||||
static readonly type = '[TenantManagement] Get By Id'; |
static readonly type = '[TenantManagement] Get Tenant By Id'; |
||||
constructor(public payload: string) {} |
constructor(public payload: string) {} |
||||
} |
} |
||||
|
|
||||
export class TenantManagementAdd { |
export class CreateTenant { |
||||
static readonly type = '[TenantManagement] Add'; |
static readonly type = '[TenantManagement] Create Tenant'; |
||||
constructor(public payload: TenantManagement.AddRequest) {} |
constructor(public payload: TenantManagement.AddRequest) {} |
||||
} |
} |
||||
|
|
||||
export class TenantManagementUpdate { |
export class UpdateTenant { |
||||
static readonly type = '[TenantManagement] Update'; |
static readonly type = '[TenantManagement] Update Tenant'; |
||||
constructor(public payload: TenantManagement.UpdateRequest) {} |
constructor(public payload: TenantManagement.UpdateRequest) {} |
||||
} |
} |
||||
|
|
||||
export class TenantManagementDelete { |
export class DeleteTenant { |
||||
static readonly type = '[TenantManagement] Delete'; |
static readonly type = '[TenantManagement] Delete Tenant'; |
||||
constructor(public payload: string) {} |
constructor(public payload: string) {} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue