- Timestamp:
- 11/04/21 17:01:30 (3 years ago)
- Branches:
- dev
- Children:
- caaf82d
- Parents:
- 1e0d869 (diff), b9d7ae5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clients/Angular/finki-chattery/src/app/shared-app/models/user.models.ts
r1e0d869 r6901f8b 9 9 } 10 10 11 export class SelfUserResponse {12 uid!: string;13 }14 15 11 export enum ApplicationUserType { 16 12 Student = 'Student', … … 19 15 Guest = 'Guest' 20 16 } 17 18 export class SelfUserResponse { 19 public student?: StudentSelfResponse | null; 20 public teacher?: TeacherSelfResponse | null; 21 public moderator?: ModeratorSelfResponse | null; 22 } 23 24 export class StudentSelfResponse { 25 public uid!: string; 26 public applicationUserId!: number; 27 public index!: string; 28 public reputation!: number; 29 public imageUrl!: string; 30 public questions!: StudentQuestionResponse[]; 31 public teams!: StudentTeamResponse[]; 32 } 33 34 export class StudentQuestionResponse { 35 public questionUid!: string; 36 public title!: string; 37 } 38 39 export class StudentTeamResponse { 40 public teamUid!: string; 41 public name!: string; 42 } 43 44 export class ModeratorSelfResponse { 45 public uid!: string; 46 public applicationUserId!: number; 47 } 48 49 export class TeacherSelfResponse { 50 public uid!: string; 51 public applicationUserId!: number; 52 public teams!: TeacherTeamResponse[]; 53 } 54 55 export class TeacherTeamResponse { 56 public teamUid!: string; 57 public name!: string; 58 }
Note:
See TracChangeset
for help on using the changeset viewer.