source: iknow-api/Models/SemesterSubjects.cs@ 10009b9

Last change on this file since 10009b9 was 70a9f6d, checked in by imbrsk <boris696boris@…>, 10 months ago

feat: Add ActiveSemesters model and update related entities

  • Introduced ActiveSemesters model with properties: id, year, and Type.
  • Updated EnrolledSemesters model to include new properties: CratedAt, LastChange, Veryfied, Node, and StudentComment.
  • Modified Payment model to change the primary key and updated table name to Payments.
  • Added Signature property to SemesterSubject model and updated table name to SemesterSubjects.
  • Created new migration to reflect changes in the database schema.
  • Updated User model to include a reference to Payments.
  • Property mode set to 100644
File size: 644 bytes
Line 
1namespace iknow_api.Models
2{
3 public class SemesterSubject
4 {
5 public int Id { get; set; }
6
7 public int UserId { get; set; }
8 public int EnrolledSemesterId { get; set; }
9 public int SubjectId { get; set; }
10 public int ProfessorId { get; set; }
11 public bool Signature { get; set; }
12 public User? User { get; set; }
13 public EnrolledSemesters? EnrolledSemester { get; set; }
14 public Subject? Subject { get; set; }
15 public User? Professor { get; set; }
16 public PassedSubject? PassedSubject { get; set; }
17 }
18}
Note: See TracBrowser for help on using the repository browser.