init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using Kreta.BusinessLogic.HelperClasses.ApaczaiProgramCOs;
|
||||
using Kreta.Enums.ManualEnums;
|
||||
|
||||
namespace Kreta.Web.Areas.Tanulo.Models
|
||||
{
|
||||
public class TanuloApaczaiPalyazatiEsemenyMerfoldkoModel
|
||||
{
|
||||
public TanuloApaczaiPalyazatiEsemenyMerfoldkoModel(PalyazatiEsemenyCo co)
|
||||
{
|
||||
Cim = co.Cim;
|
||||
Datum = co.Datum;
|
||||
Megjegyzes = co.Megjegyzes;
|
||||
Statusz = co.Statusz;
|
||||
}
|
||||
|
||||
public string Cim { get; set; }
|
||||
|
||||
public DateTime Datum { get; set; }
|
||||
|
||||
public string Megjegyzes { get; set; }
|
||||
|
||||
public ApaczaiPalyazatStatuszEnum Statusz { get; set; }
|
||||
|
||||
public string StatuszColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return Helper.ApaczaiPalyazatStatuszExtensions.GetColor(Statusz);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user