Amount.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using GalaSoft.MvvmLight;
  6. using Muchinfo.MTPClient.Data.Enums;
  7. namespace Muchinfo.MTPClient.Data.Model.Bank
  8. {
  9. /// <summary>
  10. /// 出入金
  11. /// </summary>
  12. public class Amount : ObservableObject
  13. {
  14. #region Members of Amount (4)
  15. private FundsApplyType _fundsApplyType;
  16. private decimal _money;
  17. private string _password;
  18. private string _remark;
  19. #endregion Members of Amount (4)
  20. #region Properties of Amount (4)
  21. public FundsApplyType FundsApplyType
  22. {
  23. get { return _fundsApplyType; }
  24. set { _fundsApplyType = value; }
  25. }
  26. /// <summary>
  27. /// 出入金金额
  28. /// </summary>
  29. public decimal Money
  30. {
  31. get { return _money; }
  32. set { Set(() => Money, ref _money, value); }
  33. }
  34. /// <summary>
  35. /// 账户密码
  36. /// </summary>
  37. public string Password
  38. {
  39. get { return _password; }
  40. set { Set(() => Password, ref _password, value); }
  41. }
  42. /// <summary>
  43. /// 备注
  44. /// </summary>
  45. public string Remark
  46. {
  47. get { return _remark; }
  48. set { Set(() => Remark, ref _remark, value); }
  49. }
  50. /// <summary>
  51. /// 账号ID
  52. /// </summary>
  53. public ulong AccountId { get; set; }
  54. /// <summary>
  55. /// 账号代码
  56. /// </summary>
  57. public string AccountCode { get; set; }
  58. /// <summary>
  59. /// 账号类型
  60. /// </summary>
  61. public eUserType AccountType { get; set; }
  62. #endregion Properties of Amount (4)
  63. }
  64. }