EnVisageOnline/Main/Source/EnVisage/Models/MixModels/MixTeamModel.cs

38 lines
1.0 KiB
C#

using EnVisage.Code.DAL.Mongo;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace EnVisage.Models
{
public class MixTeamModel : TeamSummaryInfoModel
{
public Guid? CostCenterId { get; set; }
public Guid[] UserId { get; set; }
public bool IsNew { get; set; }
public SelectListGroup Group { get; set; }
/// <summary>
/// Gets or sets a planned capacity of the team.
/// </summary>
/// <remarks>SA. May be unused</remarks>
public List<MixTeamCapacity> PlannedCapacity { get; set; }
public MixTeamModel()
: base()
{
PlannedCapacity = new List<MixTeamCapacity>();
}
public MixTeamModel(TeamSummaryInfoModel model)
{
if (model != null)
{
Id = model.Id;
Name = model.Name;
CompanyId = model.CompanyId;
ExpCategories = model.ExpCategories;
}
}
}
}