using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Yavsc.Models.Market; namespace Yavsc.Models.Workflow { using Models.Relationship; /// /// A date, between two persons /// public class RendezVous: Service { // Haut les mains. /// /// Event date /// /// [Required(),Display(Name="EventDate")] public DateTime EventDate { get; set; } /// /// Location identifier /// /// [Required] public long LocationId { get; set; } /// /// A Location for this event /// /// [Required(ErrorMessage="SpecifyPlace"),Display(Name="Location"),ForeignKey("LocationId")] public Location Location { get; set; } } }