mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 00:12:54 +08:00
36 lines
737 B
TypeScript
36 lines
737 B
TypeScript
export interface IBase {
|
|
uid?: string;
|
|
name?: string;
|
|
code?: string;
|
|
}
|
|
|
|
export interface ICountry extends IBase {
|
|
}
|
|
|
|
export interface ILocation extends IBase {
|
|
email?: string;
|
|
emailCc?: string[];
|
|
consentEmail?: boolean;
|
|
businessPhone?: string;
|
|
mobilePhone?: string;
|
|
consentSms?: boolean;
|
|
}
|
|
|
|
export interface IProvince extends ILocation {
|
|
country?: ICountry;
|
|
countryUid?: string;
|
|
}
|
|
|
|
export interface IDistrict extends ILocation {
|
|
province?: IProvince;
|
|
provinceUid?: string;
|
|
}
|
|
|
|
export interface IGenericLocation extends ILocation {
|
|
district?: IDistrict;
|
|
districtUid?: string;
|
|
province?: IProvince;
|
|
provinceUid?: string;
|
|
country?: ICountry;
|
|
countryUid?: string;
|
|
}
|