first commit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
const firstNames = ['سکینه', 'رقیه', 'فاطمه', 'مریم', 'لیلا', 'زهرا', 'فریده', 'نسرین']
|
||||
const lastNames = ['طاهری', 'سلیمی', 'افشار', 'بختیاری', 'خراسانی', 'سهرابی', 'محمدی', 'بهرامی']
|
||||
|
||||
const pick = (arr, i) => arr[i % arr.length]
|
||||
|
||||
const makeStudent = (i) => {
|
||||
const firstName = pick(firstNames, i)
|
||||
const lastName = pick(lastNames, i + 2)
|
||||
const status = i % 3 === 0 ? 'rejected' : 'pending'
|
||||
const submittedAt = new Date(Date.now() - i * 86_400_000).toISOString()
|
||||
return {
|
||||
id: 500 + i,
|
||||
firstName,
|
||||
lastName,
|
||||
fullName: `${firstName} ${lastName}`,
|
||||
phoneNumber: `0935${String(2_000_000 + i).padStart(7, '0')}`,
|
||||
nationalCode: String(2_000_000_000 + i * 11).padStart(10, '0'),
|
||||
avatarUrl: '',
|
||||
status,
|
||||
submittedAt,
|
||||
address: {
|
||||
address: 'آدرس نمونه',
|
||||
province: { id: 1, name: 'تهران' },
|
||||
city: { id: 11, name: 'تهران' },
|
||||
},
|
||||
profile: {
|
||||
birthDate: new Date(1992, i % 12, ((i * 5) % 27) + 1).toISOString(),
|
||||
maritalStatus: i % 2 ? 'single' : 'married',
|
||||
gender: 'female',
|
||||
educationStatus: 'seminary_student',
|
||||
seminaryLevel: 'level_3',
|
||||
universityLevel: 'not_applicable',
|
||||
universityName: 'حوزه علمیه قم',
|
||||
fieldOfStudy: 'فقه و اصول',
|
||||
workExperienceSummary: 'پنج سال تدریس در مدرسه دینی.',
|
||||
activitySummary: 'برگزاری جلسات قرآن و حدیث به صورت هفتگی.',
|
||||
propagationExperienceYears: 6,
|
||||
propagationMethodDescription: 'محوریت بیان داستانهای قرآنی و قرابتهای اخلاقی.',
|
||||
specializedTopics: 'تربیت دینی نوجوانان',
|
||||
propagationPlatforms: [
|
||||
{ platform: 'home_gathering_regular' },
|
||||
{ platform: 'online', platformDetails: 'کانال اینستاگرام @example' },
|
||||
],
|
||||
responseToLowSatisfaction: 'change_the_method',
|
||||
responseToSessionCancellation: 'teach_how_to_reduce_costs',
|
||||
responseToAudienceConflict: 'divide_the_crowd',
|
||||
responseToCompetingPropagator: 'strengthen_yourself',
|
||||
responseToUnqualifiedAdvisors: 'تلاش بر شفافسازی و معرفی مراجع تخصصی.',
|
||||
relevantCertificates: 'سطح ۳ حوزوی، تدریس قرآن',
|
||||
hijabApproach: 'گفتگوی همدلانه و آموزشمحور.',
|
||||
},
|
||||
verification: {
|
||||
status,
|
||||
submittedAt,
|
||||
rejectionReason: status === 'rejected' ? 'عدم تکمیل مدارک' : '',
|
||||
adminNote: status === 'rejected' ? 'لطفا مدارک تحصیلی بهروز ارسال شود.' : '',
|
||||
verifiedBy: { firstName: 'سجاد', lastName: 'محمدی' },
|
||||
media: [],
|
||||
},
|
||||
roles: ['student'],
|
||||
createdAt: submittedAt,
|
||||
}
|
||||
}
|
||||
|
||||
export const pendingStudents = Array.from({ length: 14 }, (_, i) => makeStudent(i))
|
||||
Reference in New Issue
Block a user