Changeset 2d64b2e for iknow-api/Models
- Timestamp:
- 12/09/25 14:54:20 (10 months ago)
- Branches:
- master
- Children:
- 33c69d6, 691f152
- Parents:
- 22439d3
- Location:
- iknow-api/Models
- Files:
-
- 7 edited
-
ContactInfo.cs (modified) (1 diff)
-
Documents.cs (modified) (1 diff)
-
EnrollmentInfo.cs (modified) (3 diffs)
-
HighSchool.cs (modified) (2 diffs)
-
MajorSubjects.cs (modified) (1 diff)
-
RefreshToken.cs (modified) (1 diff)
-
User.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Models/ContactInfo.cs
r22439d3 r2d64b2e 6 6 { 7 7 public int Id { get; set; } 8 public string? city { get; set; }9 public string? address { get; set; }10 public string? municipality { get; set; }11 public string? phoneNumber { get; set; }12 public string? microsoftEmail { get; set; }8 public string? City { get; set; } 9 public string? Address { get; set; } 10 public string? Municipality { get; set; } 11 public string? PhoneNumber { get; set; } 12 public string? MicrosoftEmail { get; set; } 13 13 14 14 public int UserId { get; set; } -
iknow-api/Models/Documents.cs
r22439d3 r2d64b2e 4 4 { 5 5 public int Id { get; set; } 6 public string? name { get; set; }7 public string? body { get; set; }8 public int cost { get; set; }6 public string? Name { get; set; } 7 public string? Body { get; set; } 8 public int Cost { get; set; } 9 9 public ICollection<UserDocuments>? User { get; set; } 10 10 } -
iknow-api/Models/EnrollmentInfo.cs
r22439d3 r2d64b2e 1 1 using System.ComponentModel.DataAnnotations.Schema; 2 using Microsoft.AspNetCore.SignalR; 3 using Microsoft.Net.Http.Headers; 2 4 3 5 namespace iknow_api.Models … … 11 13 public int Id { get; set; } 12 14 public int enrollmentYear { get; set; } 13 // CS1597 fix: no semicolon after accessor block14 15 public Quota quota { get; set; } 15 16 public int MajorId { get; set; } … … 17 18 public int UserId { get; set; } 18 19 public User? User { get; set; } 20 public string? StudyType { get; set; } 21 public string? StudyStatus { get; set; } 19 22 20 23 } -
iknow-api/Models/HighSchool.cs
r22439d3 r2d64b2e 3 3 namespace iknow_api.Models 4 4 { 5 public enum type5 public enum HighSchoolType 6 6 { 7 strucen, gimnazija7 Strucen, Gimnazija 8 8 } 9 9 public class HighSchool … … 11 11 public int Id { get; set; } 12 12 public float GPA { get; set; } 13 public type tip { get; set; } 14 13 public HighSchoolType HighSchoolType { get; set; } 15 14 public int UserId { get; set; } 16 public User User { get; set; } 15 public User? User { get; set; } 16 public string? StudyLanguage { get; set; } 17 17 } 18 18 } -
iknow-api/Models/MajorSubjects.cs
r22439d3 r2d64b2e 6 6 public int SubjectId { get; set; } 7 7 public int MandatorySemester { get; set; } 8 public int A kreditacija{ get; set; }8 public int Accreditation { get; set; } 9 9 public Major? Majors { get; set; } 10 10 public Subject? Subjects { get; set; } -
iknow-api/Models/RefreshToken.cs
r22439d3 r2d64b2e 7 7 public int Id { get; set; } 8 8 public int UserId { get; set; } 9 public User User { get; set; }9 public User? User { get; set; } 10 10 public string? Token { get; set; } 11 11 public DateTime ExpiresAt { get; set; } -
iknow-api/Models/User.cs
r22439d3 r2d64b2e 19 19 public string? Email { get; set; } 20 20 public string? PasswordHash { get; set; } 21 public string? MiddleName { get; set; } 22 public string? Gender { get; set; } 23 public string? Nationality { get; set; } 24 public string? Citizenship { get; set; } 21 25 public DateTime Bday { get; set; } 22 26 public DateTime CreatedAt { get; set; }
Note:
See TracChangeset
for help on using the changeset viewer.
