3 changed files with 182 additions and 7 deletions
@ -0,0 +1,42 @@ |
|||||||
|
using System; |
||||||
|
using System.Collections.Generic; |
||||||
|
using System.ComponentModel.DataAnnotations; |
||||||
|
|
||||||
|
namespace EVABackend.Models |
||||||
|
{ |
||||||
|
public class Aufnahmeantrag |
||||||
|
{ |
||||||
|
[Required] |
||||||
|
public string Name { get; set; } |
||||||
|
[Required] |
||||||
|
public string Vonname { get; set; } |
||||||
|
public bool IstErmaessigt { get; set; } |
||||||
|
public DateTime Geburtsdatum { get; set; } |
||||||
|
[Required] |
||||||
|
public string Geburtsort { get; set; } |
||||||
|
[Range(1, 100000)] |
||||||
|
public int PLZ { get; set; } |
||||||
|
[Required] |
||||||
|
public string Ort { get; set; } |
||||||
|
[Required] |
||||||
|
public string StrasseHNR { get; set; } |
||||||
|
[Required] |
||||||
|
public string Bankname { get; set; } |
||||||
|
[Required] |
||||||
|
public string BLZ { get; set; } |
||||||
|
[Required] |
||||||
|
public string KontoNr { get; set; } |
||||||
|
[Required] |
||||||
|
public UnterrichtTyp Typ { get; set; } |
||||||
|
[Required] |
||||||
|
public List<int> Instrumente { get; set; } |
||||||
|
[Required] |
||||||
|
public string Laufzeit { get; set; } |
||||||
|
[Required] |
||||||
|
public string KursId { get; set; } |
||||||
|
[Required] |
||||||
|
public string Telefon { get; set; } |
||||||
|
[Required] |
||||||
|
public string EMail { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,13 @@ |
|||||||
|
using System.Collections.Generic; |
||||||
|
using System.ComponentModel.DataAnnotations; |
||||||
|
|
||||||
|
namespace EVABackend.Models |
||||||
|
{ |
||||||
|
public class CreateRooms |
||||||
|
{ |
||||||
|
[Required] |
||||||
|
public string Name { get; set; } |
||||||
|
[Required] |
||||||
|
public List<string> InstrumentIDs { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue