seeder
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
export interface UserData {
|
||||
phone: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
restaurantSlug: string;
|
||||
birthDate: string;
|
||||
marriageDate: string;
|
||||
isActive: boolean;
|
||||
gender: boolean;
|
||||
wallet: number;
|
||||
points: number;
|
||||
}
|
||||
|
||||
export const usersData: UserData[] = [
|
||||
{
|
||||
phone: '09362532122',
|
||||
firstName: 'مرتضی',
|
||||
lastName: 'مرتضایی',
|
||||
restaurantSlug: 'zhivan',
|
||||
birthDate: '1990-01-01',
|
||||
marriageDate: '2015-01-01',
|
||||
isActive: true,
|
||||
gender: true,
|
||||
wallet: 0,
|
||||
points: 0,
|
||||
},
|
||||
{
|
||||
phone: '09185290775',
|
||||
firstName: 'حمید',
|
||||
lastName: 'زرگامی',
|
||||
restaurantSlug: 'boote',
|
||||
birthDate: '1992-01-01',
|
||||
marriageDate: '2017-01-01',
|
||||
isActive: true,
|
||||
gender: true,
|
||||
wallet: 0,
|
||||
points: 0,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user