FinanceReportView.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using EMIS.ViewModel.Cache;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace EMIS.ViewModel.FeeManage
  7. {
  8. public class FinanceReportView
  9. {
  10. public string ReceiptNo { get; set; }
  11. public DateTime? PayTime { get; set; }
  12. public string PayTimeOrder { get; set; }
  13. public Guid? ClassmajorID { get; set; }
  14. public string ClassmajorName { get; set; }
  15. public string ExaminationRegistrationConfirmNo { get; set; }
  16. public Guid? ExaminationProjectID { get; set; }
  17. public string ExaminationProjectName { get; set; }
  18. public int? FeeTypeID { get; set; }
  19. public decimal? Fee { get; set; }
  20. public string FeeTypeName
  21. {
  22. get
  23. {
  24. var feeTypeName = IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString())
  25. .Where(x => x.Value == FeeTypeID)
  26. .Select(x => x.Name).FirstOrDefault();
  27. return (feeTypeName ?? "") + "(" + (Fee ?? 0).ToString("#0.##") + ")";
  28. }
  29. }
  30. public int? StudentCount { get; set; }
  31. public decimal? Amount { get; set; }
  32. public string AmountString
  33. {
  34. get
  35. {
  36. return (Amount ?? 0).ToString("#0.##");
  37. }
  38. }
  39. public Guid? Receiver { get; set; }
  40. public string ReceiverName { get; set; }
  41. }
  42. }