| | |
| | | |
| | | class CourseBookingViewModel:RefreshModel<StudentAppointModel>{ |
| | | |
| | | let status = BehaviorRelay<StudentAppointType?>(value: nil) |
| | | let status = BehaviorRelay<StudentAppointTypeList?>(value: nil) |
| | | let search = BehaviorRelay<String>(value: "") |
| | | let studentId = BehaviorRelay<Int>(value: 0) |
| | | let timeType = BehaviorRelay<StudentAppointDateType>(value: .all) |
| | |
| | | }() |
| | | |
| | | |
| | | required init(status:StudentAppointType?,studentId:Int) { |
| | | required init(status:StudentAppointTypeList?,studentId:Int) { |
| | | super.init(nibName: nil, bundle: nil) |
| | | viewModel.status.accept(status) |
| | | viewModel.studentId.accept(studentId) |