1
0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity Security Code Quality

Add custom page

This commit is contained in:
2025-07-06 16:24:34 +07:00
parent e8f76f395a
commit 815de2932b
28 changed files with 4457 additions and 22 deletions

View File

@@ -11,14 +11,14 @@ export interface Customer {
email: string;
// email2?: string;
mobile: string;
// originAdd1: string;
originAdd1: string;
// originAdd2: string;
// originAdd3: string;
// originCity: string;
// originState: string;
// originPostcode: string;
// originCountry: string;
// localAdd1: string;
localAdd1: string;
// localAdd2: string;
// localAdd3: string;
// localCity: string;
@@ -54,9 +54,22 @@ export interface User {
isDeleted: boolean;
}
export interface UserPermission {
id: number;
userId: number;
permissionId: number;
}
export interface Permission {
id: number;
name: string;
description: string;
isActive: boolean;
}
export interface CustomerDependant {
id: number;
custId: string;
custId: number;
// deptSeq: number;
firstNameEn: string;
lastNameEn: string;
@@ -65,16 +78,16 @@ export interface CustomerDependant {
// firstNameJpKana: string;
// lastNameJpKana: string;
email: string;
email2?: string;
// mobile: string;
// originAdd1: string;
// email2?: string;
mobile: string;
originAdd1: string;
// originAdd2: string;
// originAdd3: string;
// originCity: string;
// originState: string;
// originPostcode: string;
// originCountry: string;
// localAdd1: string;
localAdd1: string;
// localAdd2: string;
// localAdd3: string;
// localCity: string;
@@ -97,5 +110,7 @@ export interface CustomerDependant {
export interface DBSchema {
customers: Customer[];
users: User[];
userPermissions: UserPermission[];
permissions: Permission[];
customerDependants: CustomerDependant[];
}

View File

@@ -1,5 +1,93 @@
{
"customers": [],
"customers": [
{
"id": 6,
"firstNameEn": "David",
"lastNameEn": "Brown",
"email": "david.brown@example.com",
"mobile": "0987901234",
"originAdd1": "sadfsa",
"localAdd1": "sadfsaf"
},
{
"id": 7,
"firstNameEn": "Emily",
"lastNameEn": "Davis",
"email": "emily.davis@example.com",
"mobile": "0987567890",
"originAdd1": "sadfsa",
"localAdd1": "asdfsaf"
},
{
"id": 8,
"firstNameEn": "Robert",
"lastNameEn": "Miller",
"email": "robert.miller@example.com",
"mobile": "0987234567"
},
{
"id": 9,
"firstNameEn": "Lisa",
"lastNameEn": "Wilson",
"email": "lisa.wilson@example.com",
"mobile": "0987890123",
"originAdd1": "ssss",
"localAdd1": "sssss"
},
{
"id": 10,
"firstNameEn": "James",
"lastNameEn": "Moore",
"email": "james.moore@example.com",
"mobile": "0987456789"
},
{
"id": 11,
"firstNameEn": "Ashley",
"lastNameEn": "Taylor",
"email": "ashley.taylor@example.com",
"mobile": "0987012345"
},
{
"id": 12,
"firstNameEn": "Christopher",
"lastNameEn": "Anderson",
"email": "christopher.anderson@example.com",
"mobile": "0987678901"
},
{
"id": 13,
"firstNameEn": "sdfas",
"lastNameEn": "sadfasf",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491"
},
{
"id": 14,
"firstNameEn": "sdaf",
"lastNameEn": "asdfasf",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491"
},
{
"id": 15,
"firstNameEn": "Đỗ",
"lastNameEn": "Thanh Tùng",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491",
"originAdd1": "123",
"localAdd1": "asdfsdaf"
},
{
"id": 16,
"firstNameEn": "Đỗ",
"lastNameEn": "Thanh Tùng",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491",
"originAdd1": "12344444",
"localAdd1": "asdfsdaf11111"
}
],
"users": [
{
"id": 1,
@@ -11,5 +99,50 @@
"isDeleted": false
}
],
"customerDependants": []
"customerDependants": [
{
"id": 5,
"custId": 13,
"firstNameEn": "do thanh",
"lastNameEn": "tung",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491"
},
{
"id": 6,
"custId": 13,
"firstNameEn": "do thanh",
"lastNameEn": "tung",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417492"
},
{
"id": 1751787328700,
"custId": 14,
"firstNameEn": "222",
"lastNameEn": "3333",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491"
},
{
"id": 1751787328701,
"custId": 15,
"firstNameEn": "Đỗ",
"lastNameEn": "Thanh Tùng",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491",
"originAdd1": "123",
"localAdd1": "sdfgsdfg"
},
{
"id": 1751787328702,
"custId": 16,
"firstNameEn": "Đỗ",
"lastNameEn": "Tùng",
"originAdd1": "1231231231",
"localAdd1": "asdfsdaf",
"email": "dothanhtung196@gmail.com",
"mobile": "0987417491"
}
]
}