init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Kreta.Enums.ManualEnums;
|
||||
|
||||
namespace Kreta.Web.Areas.Adatszolgaltatasok.Models
|
||||
{
|
||||
public class SZIRStatDokumentumModel
|
||||
{
|
||||
public int SzirStatTipusId { get; set; }
|
||||
public int FeladatellatasiHelyId { get; set; }
|
||||
public string FeladatellatasiHelyNev { get; set; }
|
||||
public int? SzirStatFileId { get; set; }
|
||||
public int? FileId { get; set; }
|
||||
public string FileNev { get; set; }
|
||||
public string ShortFileNev => string.IsNullOrWhiteSpace(FileNev) || Statusz == FileStatuszEnum.NincsFeltoltve ? string.Empty : FileNev.Length > 32 ? $"{FileNev.Substring(0, 32)}..." : FileNev;
|
||||
public DateTime? FeltoltesDatuma { get; set; }
|
||||
public string FeltoltesDatumaStr => FeltoltesDatuma.HasValue ? FeltoltesDatuma.Value.ToString(Kreta.Core.Constants.ToStringPattern.HungarianDateTimeWithoutSeconds) : string.Empty;
|
||||
public FileStatuszEnum Statusz { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user