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