feat: add Master Admin application functionality
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
export interface CountryDto {
|
||||
id: string;
|
||||
iso2: string;
|
||||
iso3: string;
|
||||
name: string;
|
||||
phoneCode: string | null;
|
||||
defaultCurrencyId: string | null;
|
||||
isActive: boolean;
|
||||
createdOn?: string;
|
||||
modifiedOn?: string | null;
|
||||
}
|
||||
|
||||
export interface CountryLookupDto {
|
||||
id: string;
|
||||
iso2: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface CreateCountryRequest {
|
||||
iso2: string;
|
||||
iso3: string;
|
||||
name: string;
|
||||
phoneCode: string | null;
|
||||
defaultCurrencyId: string | null;
|
||||
}
|
||||
|
||||
export interface UpdateCountryRequest extends CreateCountryRequest {
|
||||
isActive: boolean;
|
||||
}
|
||||
|
||||
export type CountryModalMode = 'create' | 'edit';
|
||||
Reference in New Issue
Block a user