27 lines
494 B
TypeScript
27 lines
494 B
TypeScript
export interface CityDto {
|
|
id: string;
|
|
stateId: string;
|
|
name: string;
|
|
code: string | null;
|
|
timezoneId: string | null;
|
|
isActive: boolean;
|
|
createdOn?: string;
|
|
modifiedOn?: string | null;
|
|
}
|
|
|
|
export interface CreateCityRequest {
|
|
stateId: string;
|
|
name: string;
|
|
code: string;
|
|
timezoneId: string | null;
|
|
}
|
|
|
|
export interface UpdateCityRequest {
|
|
name: string;
|
|
code: string;
|
|
timezoneId: string | null;
|
|
isActive: boolean;
|
|
}
|
|
|
|
export type CityModalMode = 'create' | 'edit' ;
|