ส่ง code แก้ไข OP Change Request 18 ข้อ
This commit is contained in:
@@ -19,6 +19,20 @@ namespace TodoAPI2.Models
|
||||
|
||||
public int? theTime { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string display_text
|
||||
{
|
||||
get
|
||||
{
|
||||
if(!theTime.HasValue || !fiscal_year.HasValue)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
else
|
||||
{
|
||||
return theTime.ToString() + "/" + fiscal_year.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user