|
@@ -3469,7 +3469,7 @@ class CourseCommonInfoDTO extends BaseCourseAlbumDTO{
|
|
|
|
|
|
class CourseAlbumExtendDTO extends BaseCourseAlbumDTO{
|
|
|
List<CourseInfoDetailDTO >? courseInfos;
|
|
|
- int studentCount;
|
|
|
+ int signInCount;
|
|
|
String? cover;
|
|
|
List<String >? courseCodes;
|
|
|
String? introduction;
|
|
@@ -3487,7 +3487,7 @@ class CourseAlbumExtendDTO extends BaseCourseAlbumDTO{
|
|
|
|
|
|
CourseAlbumExtendDTO({
|
|
|
this.courseInfos,
|
|
|
- this.studentCount = 0,
|
|
|
+ this.signInCount = 0,
|
|
|
this.cover,
|
|
|
this.courseCodes,
|
|
|
this.introduction,
|
|
@@ -3512,7 +3512,7 @@ class CourseAlbumExtendDTO extends BaseCourseAlbumDTO{
|
|
|
factory CourseAlbumExtendDTO.fromJson(Map<String, dynamic> map) {
|
|
|
return CourseAlbumExtendDTO(
|
|
|
courseInfos: map['CourseInfos'] != null ? (map['CourseInfos'] as List).map((e)=>CourseInfoDetailDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
- studentCount: map['StudentCount'],
|
|
|
+ signInCount: map['SignInCount'],
|
|
|
cover: map['Cover'],
|
|
|
courseCodes: map['CourseCodes'] != null ? map['CourseCodes'].cast<String>().toList() : null,
|
|
|
introduction: map['Introduction'],
|
|
@@ -3536,7 +3536,7 @@ class CourseAlbumExtendDTO extends BaseCourseAlbumDTO{
|
|
|
final map = super.toJson();
|
|
|
if(courseInfos != null)
|
|
|
map['CourseInfos'] = courseInfos;
|
|
|
- map['StudentCount'] = studentCount;
|
|
|
+ map['SignInCount'] = signInCount;
|
|
|
if(cover != null)
|
|
|
map['Cover'] = cover;
|
|
|
if(courseCodes != null)
|