25 lines
782 B
C#
25 lines
782 B
C#
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; }
|
|
}
|
|
}
|