|
@@ -2,6 +2,7 @@ using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
using System.Text;
|
|
|
+using TEAMModelOS.SDK.DI;
|
|
|
|
|
|
namespace TEAMModelOS.SDK.Models
|
|
|
{
|
|
@@ -347,6 +348,33 @@ namespace TEAMModelOS.SDK.Models
|
|
|
|
|
|
public class GroupListDto
|
|
|
{
|
|
|
+ public GroupListDto() { }
|
|
|
+ public GroupListDto(RGroupList groupList) {
|
|
|
+
|
|
|
+ this.id = groupList.id;
|
|
|
+ this.code = groupList.code;
|
|
|
+ this.periodId = groupList.periodId;
|
|
|
+ this.pk = groupList.pk;
|
|
|
+ this.name = groupList.name;
|
|
|
+ this.school = groupList.school;
|
|
|
+ this.creatorId = groupList.creatorId;
|
|
|
+ this.no = groupList.no;
|
|
|
+ this.scope = groupList.scope;
|
|
|
+ this.type = groupList.type;
|
|
|
+ this.scount = groupList.scount;
|
|
|
+ this.tcount = groupList.tcount;
|
|
|
+ this.leader = groupList.leader;
|
|
|
+ this.year = groupList.year;
|
|
|
+ this.expire = groupList.expire;
|
|
|
+ this.froms = groupList.froms;
|
|
|
+ this.joinLock = groupList.joinLock;
|
|
|
+ this.qrcodeExpire = groupList.qrcodeExpire;
|
|
|
+ this.qrcodeDays = groupList.qrcodeDays;
|
|
|
+ this.review=groupList.review;
|
|
|
+ this.limitCount = groupList.limitCount;
|
|
|
+ this.grades = groupList.grades;
|
|
|
+ this.graduate = groupList.graduate;
|
|
|
+ }
|
|
|
public string pk { get; set; }
|
|
|
public string id { get; set; }
|
|
|
|