source: iknow-api/Models/HighSchool.cs@ 2d64b2e

Last change on this file since 2d64b2e was 2d64b2e, 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 
[cab02ad]1using System.ComponentModel.DataAnnotations.Schema;
2
3namespace iknow_api.Models
4{
[2d64b2e]5 public enum HighSchoolType
[cab02ad]6 {
[2d64b2e]7 Strucen, Gimnazija
[cab02ad]8 }
9 public class HighSchool
10 {
11 public int Id { get; set; }
12 public float GPA { get; set; }
[2d64b2e]13 public HighSchoolType HighSchoolType { get; set; }
[cab02ad]14 public int UserId { get; set; }
[2d64b2e]15 public User? User { get; set; }
16 public string? StudyLanguage { get; set; }
[cab02ad]17 }
18}
Note: See TracBrowser for help on using the repository browser.