Files
hrm_eva/Models/eva_adjust_postponement/eva_adjust_postponementEntity.cs

81 lines
2.2 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using TTSW.EF;
using TTSW.Utils;
using TTSW.Constant;
using TTSW.Common;
using System.IO;
namespace TodoAPI2.Models
{
public class eva_adjust_postponementEntity : BaseEntity2<int>
{
public int? fiscal_year { get; set; }
public DateTime? theDate { get; set; }
public int? theRound { get; set; }
[ForeignKey("create_evaluation_id")]
public eva_create_evaluationEntity eva_create_evaluation { get; set; }
public int? create_evaluation_id { get; set; }
public decimal? limit { get; set; }
public decimal? limit_frame { get; set; }
public decimal? limit_quota { get; set; }
public decimal? limit_frame_quota { get; set; }
public decimal? percentage { get; set; }
[MaxLength(4000)]
public string command_no { get; set; }
public int? managed_by { get; set; }
[MaxLength(1000)]
public string imported_file { get; set; }
[NotMapped]
public string imported_fileDisplay
{
get
{
return (string.IsNullOrEmpty(imported_file) ? "" :
FileUtil.GetFileInfo(TTSW.Constant.FilePathConstant.DirType.FilesTestUpload, id, imported_file).RelativePath).Replace(@"\", "/");
}
}
[MaxLength(1000)]
public string report_type { get; set; }
public DateTime? imported_date { get; set; }
[MaxLength(5)]
public string postponement_status { get; set; }
public DateTime? postponement_status_date { get; set; }
[MaxLength(255)]
public int? postponement_status_by { get; set; }
[MaxLength(1000)]
public string postponement_status_note { get; set; }
[MaxLength(5)]
public string quota_status { get; set; }
public DateTime? quota_status_date { get; set; }
[MaxLength(255)]
public int? quota_status_by { get; set; }
[MaxLength(1000)]
public string quota_status_note { get; set; }
}
}