|
Last change
on this file since c2f79d7 was a92a2a4, checked in by imbrsk <boris696boris@…>, 11 months ago |
|
ADDEED ALL MODESL :)
|
-
Property mode
set to
100644
|
|
File size:
640 bytes
|
| Rev | Line | |
|---|
| [a92a2a4] | 1 | using System.ComponentModel.DataAnnotations.Schema;
|
|---|
| 2 |
|
|---|
| 3 | namespace iknow_api.Models
|
|---|
| 4 | {
|
|---|
| 5 | public enum Type
|
|---|
| 6 | {
|
|---|
| 7 | Winter, Summer
|
|---|
| 8 | }
|
|---|
| 9 | public class EnrolledSemesters
|
|---|
| 10 | {
|
|---|
| 11 | public int Id { get; set; }
|
|---|
| 12 | public int UserId { get; set; }
|
|---|
| 13 | public User? User { get; set; }
|
|---|
| 14 | public int Year { get; set; }
|
|---|
| 15 | public int Type { get; set; }
|
|---|
| 16 | public Quota QuotaType { get; set; }
|
|---|
| 17 | public int MajorId { get; set; }
|
|---|
| 18 | public Major? Major { get; set; }
|
|---|
| 19 | public ICollection<Payment>? Users { get; set; }
|
|---|
| 20 | public ICollection<SemesterSubject>? SemesterSubjects { get; set; }
|
|---|
| 21 | }
|
|---|
| 22 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.