OfficeRkEntryEntity.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. using System;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using LeaRun.Application.Code;
  4. namespace LeaRun.Application.Entity.DemoManage
  5. {
  6. /// <summary>
  7. /// 版 本
  8. /// Copyright (c) 2013-2016 上海力软信息技术有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2016-12-06 17:29
  11. /// 描 述:OfficeRk
  12. /// </summary>
  13. public class OfficeRkEntryEntity : BaseEntity
  14. {
  15. #region 实体成员
  16. /// <summary>
  17. /// 订单明细主键
  18. /// </summary>
  19. /// <returns></returns>
  20. [Column("RKENTRYID")]
  21. public string RkEntryId { get; set; }
  22. /// <summary>
  23. /// 订单主键
  24. /// </summary>
  25. /// <returns></returns>
  26. [Column("ORDERID")]
  27. public string OrderId { get; set; }
  28. /// <summary>
  29. /// 商品Id
  30. /// </summary>
  31. /// <returns></returns>
  32. [Column("PRODUCTID")]
  33. public string ProductId { get; set; }
  34. /// <summary>
  35. /// 商品编号
  36. /// </summary>
  37. /// <returns></returns>
  38. [Column("PRODUCTCODE")]
  39. public string ProductCode { get; set; }
  40. /// <summary>
  41. /// 商品名称
  42. /// </summary>
  43. /// <returns></returns>
  44. [Column("PRODUCTNAME")]
  45. public string ProductName { get; set; }
  46. /// <summary>
  47. /// 单位
  48. /// </summary>
  49. /// <returns></returns>
  50. [Column("UNITID")]
  51. public string UnitId { get; set; }
  52. /// <summary>
  53. /// 数量
  54. /// </summary>
  55. /// <returns></returns>
  56. [Column("QTY")]
  57. public decimal? Qty { get; set; }
  58. /// <summary>
  59. /// 单价
  60. /// </summary>
  61. /// <returns></returns>
  62. [Column("PRICE")]
  63. public decimal? Price { get; set; }
  64. /// <summary>
  65. /// 金额
  66. /// </summary>
  67. /// <returns></returns>
  68. [Column("AMOUNT")]
  69. public decimal? Amount { get; set; }
  70. /// <summary>
  71. /// 排序码
  72. /// </summary>
  73. /// <returns></returns>
  74. [Column("SORTCODE")]
  75. public int? SortCode { get; set; }
  76. /// <summary>
  77. /// 删除标记
  78. /// </summary>
  79. /// <returns></returns>
  80. [Column("DELETEMARK")]
  81. public int? DeleteMark { get; set; }
  82. /// <summary>
  83. /// 有效标志
  84. /// </summary>
  85. /// <returns></returns>
  86. [Column("ENABLEDMARK")]
  87. public int? EnabledMark { get; set; }
  88. /// <summary>
  89. /// 备注
  90. /// </summary>
  91. /// <returns></returns>
  92. [Column("DESCRIPTION")]
  93. public string Description { get; set; }
  94. #endregion
  95. #region 扩展操作
  96. /// <summary>
  97. /// 新增调用
  98. /// </summary>
  99. public override void Create()
  100. {
  101. this.RkEntryId = Guid.NewGuid().ToString();
  102. }
  103. /// <summary>
  104. /// 编辑调用
  105. /// </summary>
  106. /// <param name="keyValue"></param>
  107. public override void Modify(string keyValue)
  108. {
  109. this.RkEntryId = keyValue;
  110. }
  111. #endregion
  112. }
  113. }