Files
hrm_eva/Models/eva_evaluation_achievement/eva_evaluation_achievementViewModel.cs
2020-02-29 17:51:41 +07:00

49 lines
1.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;
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 string target_score1 { get; set; }
public string target_score2 { get; set; }
public string target_score3 { get; set; }
public string target_score4 { get; set; }
public string target_score5 { get; set; }
public int? create_evaluation_detail_id_eva_create_evaluation_detail_create_evaluation_id { get; set; }
}
}