Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace LeerPlatform_Team2
- {
- public partial class TblPlanning
- {
- public int PlanningId { get; set; }
- public string Lokaalnummer { get; set; }
- public string Lescode { get; set; }
- public string Reekscode { get; set; }
- [DisplayName("Start tijdstip")]
- public DateTime StartTijdstip { get; set; }
- [DisplayName("Eind tijdstip")]
- public DateTime EindTijdstip { get; set; }
- [DisplayName("Extra info")]
- public string ExtraInfo { get; set; }
- public virtual TblLessen LescodeNavigation { get; set; }
- public virtual TblLokalen LokaalnummerNavigation { get; set; }
- public virtual TblLessenreeks ReekscodeNavigation { get; set; }
- }
- }
- using System;
- using System.Collections.Generic;
- using Microsoft.AspNetCore.Mvc;
- namespace LeerPlatform_Team2
- {
- public partial class TblLokalen
- {
- public TblLokalen()
- {
- TblPlanning = new HashSet<TblPlanning>();
- }
- [Remote(action: "Validatelokaal", controller:"Lokalen",HttpMethod ="POST", ErrorMessage ="Dit lokaal bestaat al!")]
- public string Lokaalnummer { get; set; }
- public string Locatie { get; set; }
- public int Capaciteit { get; set; }
- public int? FunctionaliteitenId { get; set; }
- public virtual TblFunctionaliteiten Functionaliteiten { get; set; }
- public virtual ICollection<TblPlanning> TblPlanning { get; set; }
- }
- }
- using System;
- using System.Collections.Generic;
- namespace LeerPlatform_Team2
- {
- public partial class TblLessenreeks
- {
- public TblLessenreeks()
- {
- TblPlanning = new HashSet<TblPlanning>();
- }
- public string Reekscode { get; set; }
- public string Titel { get; set; }
- public int? Ingeschreven { get; set; }
- public virtual ICollection<TblPlanning> TblPlanning { get; set; }
- }
- }
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- namespace LeerPlatform_Team2
- {
- public partial class TblLessen
- {
- public TblLessen()
- {
- TblPlanning = new HashSet<TblPlanning>();
- }
- [MaxLength(5)]
- [Required]
- public string Lescode { get; set; }
- [Required]
- [MaxLength(50)]
- public string Titel { get; set; }
- [Required]
- [Range(4,25)]
- public int Studiepunten { get; set; }
- public virtual ICollection<TblPlanning> TblPlanning { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement