Files
hrm_eva/Models/eva_evaluation_achievement/eva_evaluation_achievementViewModel.cs
Nakorn Rientrakrunchai 8b98125e49 First Initial
2020-02-20 15:02:39 +07:00

38 lines
1002 B
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;
namespace TodoAPI2.Models
{
public class eva_evaluation_achievementViewModel : BaseViewModel2<int>
{
public int? create_evaluation_detail_id { get; set; }
public string achievement { get; set; }
public decimal? weight { get; set; }
public string thefile { get; set; }
public string thefileDisplay { get; set; }
public string txt_thefile
{
get
{
return (string.IsNullOrEmpty(thefile) ? "" :
$"<a href='../{thefileDisplay}' target='_blank'>{thefile}</a>");
}
}
public int? create_evaluation_detail_id_eva_create_evaluation_detail_create_evaluation_id { get; set; }
}
}