init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.BusinessLogic.HelperClasses.Ugyfelszolgalat;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.Web.Areas.UgyfelSzolgalat.Models
|
||||
{
|
||||
public class CreateDbVisszaallitasModel
|
||||
{
|
||||
[Required(ErrorMessageResourceName = nameof(UgyfelszolgalatResource.DatumKitolteseKotelezo), ErrorMessageResourceType = typeof(UgyfelszolgalatResource))]
|
||||
public DateTime? Datum { get; set; }
|
||||
public string RequestTypeId { get; set; }
|
||||
|
||||
[StringLength(5000, MinimumLength = 10, ErrorMessageResourceName = nameof(UgyfelszolgalatResource.LeirasKitolteseKotelezoMinimum10Maximum5000Karakter), ErrorMessageResourceType = typeof(UgyfelszolgalatResource))]
|
||||
public string Leiras { get; set; }
|
||||
|
||||
public string UserAndBrowserInformation { get; set; }
|
||||
|
||||
public static implicit operator CreateDbVisszaallitas(CreateDbVisszaallitasModel createDbVisszaallitasModel) => new CreateDbVisszaallitas
|
||||
{
|
||||
Datum = createDbVisszaallitasModel.Datum,
|
||||
Leiras = createDbVisszaallitasModel.Leiras,
|
||||
RequestTypeId = createDbVisszaallitasModel.RequestTypeId,
|
||||
UserAndBrowserInformation = createDbVisszaallitasModel.UserAndBrowserInformation
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue