using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using EMIS.ViewModel.CacheManage;
namespace EMIS.ViewModel.PaymentManage
{
public class TeacherTypePaymentFormulaView
{
///
/// TeacherType
///
public Nullable TeacherType { get; set; }
public string TeacherTypeDesc
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TeacherType)
.Where(x => x.Value == TeacherType)
.Select(x => x.Name).FirstOrDefault();
}
}
[Required]
[DisplayName("课酬公式")]
public Nullable PaymentFormulaID { get; set; }
public string StudentCountRateFormunla { get; set; }
public string PaymentFormula { get; set; }
public int? OrderNo { get; set; }
}
}