using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace TFC.Models
{
    public class Training
    {
        public int TrainingID { get; set; }
        [Display(Name = "Nombre del entrenamiento")]
        public string TrainingName { get; set; }

  
        public Guid UserId { get; set; }
        [Display(Name = "Cliente")]
        [XmlIgnore, IgnoreDataMember]
        public virtual User Cliente { get; set; }
        [XmlIgnore, IgnoreDataMember]
        public virtual User Trainer { get; set; }
        public virtual ICollection<Workout> workouts { get; set; }
    }
}