CraftLg2AlloyEntity.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using Core.Mes.Client.Comm.Attribute;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Core.StlMes.Client.PlnSaleOrd.炼钢计划.entity
  8. {
  9. /// <summary>
  10. /// 数据库表CRAFT_LG2_ALLOY所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:PC-20160925CXYF 时间:2017-09-03
  12. /// </summary>
  13. public class CraftLg2AlloyEntity
  14. {
  15. /// <summary>
  16. /// 合金配置方案ID(AOY+工艺卡号+6位流水)
  17. /// </summary>
  18. private string alloyGid = "";
  19. /// <summary>
  20. /// 物料编码
  21. /// </summary>
  22. private string itemCode = "";
  23. /// <summary>
  24. /// 物料名称
  25. /// </summary>
  26. private string itemName = "";
  27. /// <summary>
  28. /// 方案配置量(公斤)
  29. /// </summary>
  30. private decimal? inputAmount = null;
  31. /// <summary>
  32. /// 合金配置方案ID(AOY+工艺卡号+6位流水)
  33. /// </summary>
  34. [Description("合金配置")]
  35. [Nullable(false)]
  36. [DataLength(20)]
  37. public string AlloyGid
  38. {
  39. get { return alloyGid; }
  40. set { alloyGid = value; }
  41. }
  42. /// <summary>
  43. /// 物料编码
  44. /// </summary>
  45. [Description("物料编码")]
  46. [Nullable(false)]
  47. [DataLength(20)]
  48. public string ItemCode
  49. {
  50. get { return itemCode; }
  51. set { itemCode = value; }
  52. }
  53. /// <summary>
  54. /// 物料名称
  55. /// </summary>
  56. [Description("物料名称")]
  57. [Nullable(true)]
  58. [DataLength(8)]
  59. public string ItemName
  60. {
  61. get { return itemName; }
  62. set { itemName = value; }
  63. }
  64. /// <summary>
  65. /// 方案配置量(公斤)
  66. /// </summary>
  67. [Description("方案配置量(公斤)")]
  68. [Nullable(true)]
  69. [DataLength(10)]
  70. public decimal? InputAmount
  71. {
  72. get { return inputAmount; }
  73. set { inputAmount = value; }
  74. }
  75. /// <summary>
  76. /// 序号
  77. /// </summary>
  78. private string xh = "";
  79. [Description("序号")]
  80. public string Xh
  81. {
  82. get { return xh; }
  83. set { xh = value; }
  84. }
  85. }
  86. }