Skip to content
Permalink
af2f7b383e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
31 lines (29 sloc) 1.1 KB
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace groupH_M32COM.Angular.Models
{
public class EventDetail
{
public int ID { get; set; }
public string Description { get; set; }
public DateTime StartDate { get; set; }
public DateTime End_Date { get; set; }
public Location Location { get; set; }
public int LocationID { get; set; }
public BoatModel EventType { get; set; }
public Boat WinningBoat { get; set; }
public int WinningBoatId { get; set; }
public ICollection<EventPrizes> Prizes { get; set; }
public ICollection<Promotion> Promotions { get; set; }
public ICollection<Boat> RegisterdBoats { get; set; }
public ICollection<SponsorShip> Sponsors { get; set; }
public EventDetail()
{
this.Prizes = new Collection<EventPrizes>();
this.Promotions = new Collection<Promotion>();
this.RegisterdBoats = new Collection<Boat>();
this.Sponsors = new Collection<SponsorShip>();
}
}
}