hjBillDocument.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.sqlsugar.model.hj
  6. {
  7. [Tenant("hj")]
  8. [SugarTable("bill_docment", "单据表")]
  9. public class hjBillDocument:BaseModel
  10. {
  11. /// <summary>
  12. /// 行停用,false 启动,true 停用
  13. /// </summary>
  14. [SugarColumn(ColumnName = "is_stop")]
  15. public bool IsStop { get; set; } = false;
  16. /// <summary>
  17. /// 仓库编码
  18. /// </summary>
  19. [SugarColumn(ColumnName = "warehouse_id")]
  20. public long WarehouseId { get; set; }
  21. /// <summary>
  22. /// 请求凭证号
  23. /// </summary>
  24. [SugarColumn(ColumnName = "req_no", ColumnDataType = "nvarchar", Length = 50)]
  25. public string ReqNo { get; set; }
  26. /// <summary>
  27. /// 单号
  28. /// </summary>
  29. [SugarColumn(ColumnName = "doc_no", ColumnDataType = "nvarchar", Length = 50)]
  30. public string DocNo { get; set; }
  31. /// <summary>
  32. /// 单据类型
  33. /// </summary>
  34. [SugarColumn(ColumnName = "type_code", ColumnDataType = "nvarchar", Length = 100)]
  35. public string TypeCode { get; set; }
  36. /// <summary>
  37. /// 单据状态
  38. /// </summary>
  39. [SugarColumn(ColumnName = "state_code", ColumnDataType = "nvarchar", Length = 50)]
  40. public string StateCode { get; set; }
  41. /// <summary>
  42. /// 单据内容Json数据
  43. /// </summary>
  44. [SugarColumn(ColumnName = "content_json", ColumnDataType = "nvarchar", Length = 8000, IsNullable = true)]
  45. public string ContentJson { get; set; }
  46. /// <summary>
  47. /// 传递次数
  48. /// </summary>
  49. [SugarColumn(ColumnName = "down_qty")]
  50. public int DownQty { get; set; }
  51. /// <summary>
  52. /// 下载失败原因
  53. /// </summary>
  54. [SugarColumn(ColumnName = "down_err_reason", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
  55. public string DownErrReason { get; set; }
  56. }
  57. }