| 12345678 |
- const S={type:'String'},N={type:'Number'},O={type:'Object'},A={type:'Array'},C={type:'Pointer',targetClass:'Company'};
- export const enrollmentSchemas={
- CourseBinding:{categoryKey:S,categoryName:S,enrollmentStatus:S},CourseAppointment:{bindingId:S},
- LessonRecord:{bindingId:S,courseCategoryKey:S,courseCategoryName:S,teacherPaySnapshot:N,creditCostsSnapshot:A},DailyStudyRecord:{bindingId:S},
- CreditTransaction:{company:C,idempotencyKey:S,request:O,kind:S,account:S,amount:N,storeId:N,studentId:N,sourceTransactionId:S,operatorId:S,reason:S,payMethod:S,balances:O},
- EnrollmentCommand:{company:C,idempotencyKey:S,request:O,result:O},
- ...Object.fromEntries(['UserExpDomP','UserSIcon','UserExpHis','UserUserPoint'].map(t=>[t,{transactionId:S,payMethod:S}]))
- };
|