update 09082021

This commit is contained in:
2021-08-09 14:40:01 +02:00
parent 4d443fdfd4
commit 595cd0edea
96 changed files with 4513 additions and 1433 deletions

View File

@@ -8,7 +8,7 @@ namespace BWPMModels
{
public int ID { get; set; } = 0;
public int anredeID { get; set; } =0;
public int anredeID { get; set; } =1;
[Required(ErrorMessage = "Feld darf nicht leer sein.")]
public string name { get; set; } = "";
[Required(ErrorMessage = "Feld darf nicht leer sein.")]
@@ -22,9 +22,12 @@ namespace BWPMModels
[Phone(ErrorMessage = "Dies ist keine gültige Telefon-Nummer")]
public string handy { get; set; } = "";
public string email { get; set; } = "";
[Required(ErrorMessage = "Feld darf nicht leer sein.")]
[EmailAddress(ErrorMessage = "Dies ist keine gültige EMail-Adresse")]
public string email { get; set; } = "";
public int? schulhausID { get; set; } = 0;
[Required(ErrorMessage = "Feld darf nicht leer sein.")]
public int? schulhausID { get; set; } = 1;
public string briefanrede { get; set; } = "";

33
Models/Schueler.cs Normal file
View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace BWPMModels
{
public class Schueler
{
public int ID { get; set; } = 0;
public int? klasseID { get; set; } = 0;
public int? klassemtypID { get; set; } = 0;
[Required(ErrorMessage = "Feld darf nicht leer sein.")]
public string name { get; set; } = "";
[Required(ErrorMessage = "Feld darf nicht leer sein.")]
public string vorname { get; set; } = "";
public string bemerkung { get; set; } = "";
public bool? aktiv { get; set; } = true;
public DateTime? erstellt_am { get; set; } = DateTime.Now;
public DateTime? mutiert_am { get; set; } = DateTime.Now;
public string mutierer { get; set; } = "";
public int? mandantnr { get; set; } = 0;
}
}

31
Models/SchuelerBeruf.cs Normal file
View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace BWPMModels
{
public class SchuelerBeruf
{
public int ID { get; set; } = 0;
public int? schuelerID { get; set; } = 0;
public int? berufID { get; set; } = 0;
public string bemerkung { get; set; } = "";
public int? prioritaet { get; set; } = 0;
public bool? aktiv { get; set; } = true;
public DateTime? erstellt_am { get; set; } = DateTime.Now;
public DateTime? mutiert_am { get; set; } = DateTime.Now;
public string mutierer { get; set; } = "";
public int? mandantnr { get; set; } = 0;
}
}

View File

@@ -1,3 +0,0 @@
is_global = true
build_property.RootNamespace = BWPMModels
build_property.ProjectDir = e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\Models\

View File

@@ -1 +1 @@
c6694572788175e89456330a59d70d898a295b82
0a97416b02a836b092f0058d5f13f6db2b4570f3