using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace Qusion.WebApp.Areas.Qusion.Models.Events
{
    public class EventUserEdit
    {
        public Guid? ID { get; set; }

        [DataMember(IsRequired = true)]
        public Guid? UserID { get; set; }

        public DateTime? ApprovedOn { get; set; }

        public DateTime? SuspendedOn { get; set; }

        public DateTime? StartsOn { get; set; }

        public DateTime? ExpiresOn { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsInvited { get; set; }

        [Required(ErrorMessage = "events.required_team")]
        public string[] Labels { get; set; }
    }
}