Ignore:
Timestamp:
12/09/25 14:54:20 (10 months ago)
Author:
imbrsk <boris696boris@…>
Branches:
master
Children:
615f18d, f735dac
Parents:
334981d
Message:

Refactor model properties for consistency and clarity

File:
1 edited

Legend:

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

    r334981d rab652ff  
    33namespace iknow_api.Models
    44{
    5     public enum type
     5    public enum HighSchoolType
    66    {
    7         strucen, gimnazija
     7        Strucen, Gimnazija
    88    }
    99    public class HighSchool
     
    1111        public int Id { get; set; }
    1212        public float GPA { get; set; }
    13         public type tip { get; set; }
    14 
     13        public HighSchoolType HighSchoolType { get; set; }
    1514        public int UserId { get; set; }
    16         public User User { get; set; }
     15        public User? User { get; set; }
     16        public string? StudyLanguage { get; set; }
    1717    }
    1818}
Note: See TracChangeset for help on using the changeset viewer.