init
This commit is contained in:
25
KretaWeb/Areas/Orarend/Models/HaziFeladatNaplozasRogzites.cs
Normal file
25
KretaWeb/Areas/Orarend/Models/HaziFeladatNaplozasRogzites.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.BusinessLogic.Logic;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.Web.Areas.Orarend.Models
|
||||
{
|
||||
public class HaziFeladatNaplozasRogzites
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
private string haziFeladat;
|
||||
|
||||
public string HaziFeladat
|
||||
{
|
||||
get { return haziFeladat; }
|
||||
set { haziFeladat = RichTextLogic.RemoveSpecificHtmlTags(value, RichTextLogic.RemovableHtmlTags); }
|
||||
}
|
||||
|
||||
[DateRange(ErrorMessageResourceName = nameof(ErrorResource.HataridoDatumaNemErvenyes), ErrorMessageResourceType = typeof(ErrorResource))]
|
||||
public DateTime? Hatarido { get; set; }
|
||||
public int? OrarendiOraId { get; set; }
|
||||
public int? CsatolmanyId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user