TeacherTypePaymentFormulaView.cs 1016 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.PaymentManage
  9. {
  10. public class TeacherTypePaymentFormulaView
  11. {
  12. /// <summary>
  13. /// TeacherType
  14. /// </summary>
  15. public Nullable<int> TeacherType { get; set; }
  16. public string TeacherTypeDesc
  17. {
  18. get
  19. {
  20. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TeacherType)
  21. .Where(x => x.Value == TeacherType)
  22. .Select(x => x.Name).FirstOrDefault();
  23. }
  24. }
  25. [Required]
  26. [DisplayName("课酬公式")]
  27. public Nullable<System.Guid> PaymentFormulaID { get; set; }
  28. public string StudentCountRateFormunla { get; set; }
  29. public string PaymentFormula { get; set; }
  30. public int? OrderNo { get; set; }
  31. }
  32. }