เตรียม UI รายงานแบบประเมิน
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user