เตรียม UI รายงานแบบประเมิน

This commit is contained in:
Nakorn Rientrakrunchai
2020-08-29 19:19:13 +07:00
parent f4a7c9c814
commit 933c9f7b4f
31 changed files with 1575 additions and 10 deletions

View File

@@ -14,8 +14,6 @@ namespace TodoAPI2.Models
{
public class eva_idp_planEntity : BaseEntity2<int>
{
public int? create_evaluation_detail_id { get; set; }
[MaxLength(1000)]
@@ -28,6 +26,25 @@ namespace TodoAPI2.Models
public DateTime? end_date { get; set; }
[MaxLength(1000)]
public string period_text { get; set; }
public void SetAutoField(DataContext context)
{
string temp = "";
if (start_date.HasValue)
{
temp = MyHelper.GetDateStringForReport(start_date);
}
if (end_date.HasValue)
{
temp += " ถึง " + MyHelper.GetDateStringForReport(end_date);
}
}
public void DoAfterInsertUpdate(DataContext context)
{
}
}
}