Ignore:
Timestamp:
09/23/26 13:29:06 (4 hours ago)
Author:
Stefan-Saveski <stefansaveski19@…>
Branches:
master
Children:
e7bafc0
Parents:
a12988e (diff), f7c8acf (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.
Message:

Merge remote-tracking branch 'origin/phase5-normalization'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Models/Payment.cs

    ra12988e r1a9c843  
    1 using System.ComponentModel.DataAnnotations.Schema;
    2 
    31namespace iknow_api.Models
    42{
     3    /// <summary>
     4    /// The student is reached through the enrolment: enrolled_id -> user_id.
     5    /// A user_id here would be redundant and could contradict the enrolment,
     6    /// which is the BCNF violation found during normalization (Phase 5).
     7    /// </summary>
    58    public class Payment
    69    {
    710        public int Id { get; set; }
    811
    9         public int UserId { get; set; }
    10         public User? User { get; set; }
    1112        public int EnrollmentInfoId { get; set; }
    1213        public int Amount { get; set; }
    1314        public EnrolledSemesters? EnrolledSemesters { get; set; }
    14 
    1515    }
    1616}
Note: See TracChangeset for help on using the changeset viewer.