Ignore:
Timestamp:
12/10/25 15:12:34 (10 months ago)
Author:
imbrsk <boris696boris@…>
Branches:
master
Children:
61fd94e
Parents:
33c69d6
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Controllers/UserController.cs

    r33c69d6 r70a9f6d  
    7373                    {
    7474                        id = userData[i].Id,
    75                         semester = (userData[i].Type == 0 ? "Зимски" : "Летен") + $"({userData[i].Year}/{userData[i].Year + 1})",
     75                        //semester = (userData[i].Type == 0 ? "Зимски" : "Летен") + $"({userData[i].Year}/{userData[i].Year + 1})",
    7676                        direction = userData[i].Major?.Name ?? "",
    7777                        quota = userData[i].QuotaType.ToString(),
Note: See TracChangeset for help on using the changeset viewer.