source: iknow-api/Models/ActiveSemester.cs@ 61fd94e

Last change on this file since 61fd94e 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: 354 bytes
Line 
1using Microsoft.VisualBasic;
2
3namespace iknow_api.Models
4{
5 public enum sType
6 {
7 summer,winter
8 }
9 public class ActiveSemesters
10 {
11 public int id { get; set; }
12 public int year { get; set; }
13 public sType Type { get; set; }
14 public ICollection<EnrolledSemesters>? EnrolledSemesters { get; set; }
15 }
16}
Note: See TracBrowser for help on using the repository browser.