CourseOfferingsCompanion.insert constructor

CourseOfferingsCompanion.insert({
  1. Value<int> id = const Value.absent(),
  2. Value<DateTime?> fetchedAt = const Value.absent(),
  3. required int course,
  4. required int semester,
  5. required String number,
  6. Value<int?> phase = const Value.absent(),
  7. Value<CourseType?> courseType = const Value.absent(),
  8. Value<String?> status = const Value.absent(),
  9. Value<String?> language = const Value.absent(),
  10. Value<String?> remarks = const Value.absent(),
  11. Value<String?> syllabusId = const Value.absent(),
  12. Value<DateTime?> syllabusUpdatedAt = const Value.absent(),
  13. Value<int?> enrolled = const Value.absent(),
  14. Value<int?> withdrawn = const Value.absent(),
  15. Value<String?> objective = const Value.absent(),
  16. Value<String?> weeklyPlan = const Value.absent(),
  17. Value<String?> evaluation = const Value.absent(),
  18. Value<String?> textbooks = const Value.absent(),
  19. Value<String?> syllabusRemarks = const Value.absent(),
})

Implementation

CourseOfferingsCompanion.insert({
  this.id = const Value.absent(),
  this.fetchedAt = const Value.absent(),
  required int course,
  required int semester,
  required String number,
  this.phase = const Value.absent(),
  this.courseType = const Value.absent(),
  this.status = const Value.absent(),
  this.language = const Value.absent(),
  this.remarks = const Value.absent(),
  this.syllabusId = const Value.absent(),
  this.syllabusUpdatedAt = const Value.absent(),
  this.enrolled = const Value.absent(),
  this.withdrawn = const Value.absent(),
  this.objective = const Value.absent(),
  this.weeklyPlan = const Value.absent(),
  this.evaluation = const Value.absent(),
  this.textbooks = const Value.absent(),
  this.syllabusRemarks = const Value.absent(),
}) : course = Value(course),
     semester = Value(semester),
     number = Value(number);