EnVisageOnline/Main-RMO/Source/EnVisage/Models/TeamboardModel.cs

51 lines
1.2 KiB
C#

using System;
using System.Data.Entity;
using System.Linq;
using EnVisage.Code;
using System.Collections.Generic;
namespace EnVisage.Models
{
public class TeamboardModel
{
public Guid Id { get; set; }
public List<Guid> Groups { get; set; }
public List<Team> Teams { get; set; }
public DateTime CalendarMaxDate { get; set; }
/// <summary>
/// Initially selected team Id in the list of the page
/// </summary>
/// <remarks>SA. ENV-815</remarks>
public Guid SelectedTeamId { get; set; }
/// <summary>
/// Initially selected team Name in the list of the page
/// </summary>
/// <remarks>SA. ENV-815</remarks>
public string SelectedTeamName { get; set; }
public TeamboardModel(Guid id)
{
Id = id;
Teams = new List<Team>();
CalendarMaxDate = DateTime.MaxValue;
SelectedTeamId = Guid.Empty;
SelectedTeamName = String.Empty;
}
public TeamboardModel()
{
Teams = new List<Team>();
CalendarMaxDate = DateTime.MaxValue;
SelectedTeamId = Guid.Empty;
SelectedTeamName = String.Empty;
}
}
}