source: iknow-api/Models/HighSchool.cs@ 93c368a

Last change on this file since 93c368a was ab652ff, checked in by imbrsk <boris696boris@…>, 10 months ago

Refactor model properties for consistency and clarity

  • Property mode set to 100644
File size: 462 bytes
RevLine 
[4f5d8fd]1using System.ComponentModel.DataAnnotations.Schema;
2
3namespace iknow_api.Models
4{
[ab652ff]5 public enum HighSchoolType
[4f5d8fd]6 {
[ab652ff]7 Strucen, Gimnazija
[4f5d8fd]8 }
9 public class HighSchool
10 {
11 public int Id { get; set; }
12 public float GPA { get; set; }
[ab652ff]13 public HighSchoolType HighSchoolType { get; set; }
[4f5d8fd]14 public int UserId { get; set; }
[ab652ff]15 public User? User { get; set; }
16 public string? StudyLanguage { get; set; }
[4f5d8fd]17 }
18}
Note: See TracBrowser for help on using the repository browser.