Files
hrm_eva/Models/eva_create_evaluation/eva_create_evaluationViewModel.cs
2020-03-12 13:03:09 +07:00

51 lines
1.6 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_create_evaluationViewModel : BaseViewModel2<int>
{
public Guid? performance_plan_id { get; set; }
public int? employee_id { get; set; }
public decimal? score1 { get; set; }
public decimal? score2 { get; set; }
public Guid? evaluation_group_id { get; set; }
public int? supervisor1_id { get; set; }
public int? supervisor2_id { get; set; }
public int? performance_plan_id_eva_performance_plan_fiscal_year { get; set; }
public string employee_id_external_linkage_external_name { get; set; }
public string evaluation_group_id_eva_evaluation_group_code { get; set; }
public string evaluation_group_id_eva_evaluation_group_name { get; set; }
public string supervisor1_id_external_linkage_external_name { get; set; }
public string supervisor2_id_external_linkage_external_name { get; set; }
public string description
{
get
{
string y = "";
if (performance_plan_id_eva_performance_plan_fiscal_year.HasValue) y = performance_plan_id_eva_performance_plan_fiscal_year.ToString();
return evaluation_group_id_eva_evaluation_group_name + " ปี " +y;
}
}
}
}