Bansari Akhani commited on
Commit
c05123c
·
1 Parent(s): 6f05a9e

create interface folde and move inerfaces into it

Browse files
src/shared/interfaces/permission.interface.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export interface PermissionInterface {
2
+ id?: number; // Optional for creation
3
+ role_id: number;
4
+ name: string;
5
+ }
src/shared/interfaces/pwBuilding.interface.ts ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ export interface PwBuildingInterface {
2
+ id?: number;
3
+ name: string;
4
+ pw_id: number;
5
+ pw_portfolioID: number;
6
+ }
src/shared/interfaces/pwPortfolio.interface.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export interface PwPortfolioInterface {
2
+ id?: number;
3
+ name: string;
4
+ pw_id: string;
5
+ }
src/shared/interfaces/pwUnits.interface.ts ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ export interface PwUnitInterface {
2
+ id?: number;
3
+ name: string;
4
+ pw_id: number;
5
+ pw_portfolioID: number;
6
+ pw_buildingID: number;
7
+ }
src/shared/interfaces/role.interface.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export interface RoleInterface {
2
+ id?: number; // Optional for creation
3
+ name: string;
4
+ permissions: string;
5
+ }
src/shared/interfaces/setting.interface.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export interface SettingInterface {
2
+ id?: number; // Optional for creation
3
+ setting_key: string;
4
+ setting_value: string;
5
+ }
src/shared/interfaces/user.interface.ts ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ export interface UserInterface {
2
+ id?: number; // Optional for creation
3
+ name: string;
4
+ email: string;
5
+ role_id: number;
6
+ status: string;
7
+ }