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

Add sample data

This commit is contained in:
2025-07-07 10:49:01 +07:00
parent 1865cf4efd
commit bd70451320
4 changed files with 363 additions and 119 deletions

View File

@@ -0,0 +1,99 @@
import { CustomerDependant } from "./database.schema";
export const sampleCustomerDependants: CustomerDependant[] = [
// Dependants for John Smith (custId: 1)
{
id: 1,
custId: 1,
firstNameEn: "Jane",
lastNameEn: "Smith",
email: "jane.smith@email.com",
mobile: "+1-555-0111",
originAdd1: "123 Main Street, New York, NY 10001, USA",
localAdd1: "456 Oak Avenue, Tokyo, Japan 150-0001",
},
{
id: 2,
custId: 1,
firstNameEn: "Tommy",
lastNameEn: "Smith",
email: "tommy.smith@email.com",
mobile: "+1-555-0112",
originAdd1: "123 Main Street, New York, NY 10001, USA",
localAdd1: "456 Oak Avenue, Tokyo, Japan 150-0001",
},
// Dependants for Sarah Johnson (custId: 2)
{
id: 3,
custId: 2,
firstNameEn: "Mark",
lastNameEn: "Johnson",
email: "mark.johnson@email.com",
mobile: "+1-555-0121",
originAdd1: "789 Pine Road, Los Angeles, CA 90210, USA",
localAdd1: "321 Sakura Street, Osaka, Japan 530-0001",
},
{
id: 4,
custId: 2,
firstNameEn: "Lisa",
lastNameEn: "Johnson",
email: "lisa.johnson@email.com",
mobile: "+1-555-0122",
originAdd1: "789 Pine Road, Los Angeles, CA 90210, USA",
localAdd1: "321 Sakura Street, Osaka, Japan 530-0001",
},
// Dependants for Michael Brown (custId: 3)
{
id: 5,
custId: 3,
firstNameEn: "Anna",
lastNameEn: "Brown",
email: "anna.brown@email.com",
mobile: "+44-20-7946-0959",
originAdd1: "42 Victoria Street, London, UK SW1H 0TL",
localAdd1: "789 Shibuya Crossing, Tokyo, Japan 150-0002",
},
// Dependants for Emily Davis (custId: 4)
{
id: 6,
custId: 4,
firstNameEn: "James",
lastNameEn: "Davis",
email: "james.davis@email.com",
mobile: "+61-2-9876-5433",
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
localAdd1: "654 Namba District, Osaka, Japan 542-0076",
},
{
id: 7,
custId: 4,
firstNameEn: "Sophie",
lastNameEn: "Davis",
email: "sophie.davis@email.com",
mobile: "+61-2-9876-5434",
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
localAdd1: "654 Namba District, Osaka, Japan 542-0076",
},
{
id: 8,
custId: 4,
firstNameEn: "Oliver",
lastNameEn: "Davis",
email: "oliver.davis@email.com",
mobile: "+61-2-9876-5435",
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
localAdd1: "654 Namba District, Osaka, Japan 542-0076",
},
// Dependants for David Wilson (custId: 5)
{
id: 9,
custId: 5,
firstNameEn: "Rachel",
lastNameEn: "Wilson",
email: "rachel.wilson@email.com",
mobile: "+1-416-555-0191",
originAdd1: "100 Queen Street West, Toronto, ON M5H 2N2, Canada",
localAdd1: "987 Ginza District, Tokyo, Japan 104-0061",
},
];