MesMoentry.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. namespace Admin.NET.Plugin.AiDOP.WorkOrder;
  2. /// <summary>
  3. /// 工单附属表(mes_moentry)
  4. /// </summary>
  5. [SugarTable("mes_moentry", "生成工单子表", IsDisabledUpdateAll = true)]
  6. public class MesMoentry
  7. {
  8. /// <summary>主键</summary>
  9. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnName = "moentry_moid", IsNullable = true)]
  12. public long? MoentryMoid { get; set; }
  13. [SugarColumn(ColumnName = "moentry_mono", Length = 128, IsNullable = true)]
  14. public string? MoentryMono { get; set; }
  15. [SugarColumn(ColumnName = "soentry_id", IsNullable = true)]
  16. public long? SoentryId { get; set; }
  17. [SugarColumn(ColumnName = "fentry_id", IsNullable = true)]
  18. public long? FentryId { get; set; }
  19. [SugarColumn(ColumnName = "fbill_no", Length = 128, IsNullable = true)]
  20. public string? FbillNo { get; set; }
  21. [SugarColumn(ColumnName = "unit", Length = 32, IsNullable = true)]
  22. public string? Unit { get; set; }
  23. [SugarColumn(ColumnName = "morder_production_number", IsNullable = true)]
  24. public decimal? MorderProductionNumber { get; set; }
  25. [SugarColumn(ColumnName = "need_number", IsNullable = true)]
  26. public decimal? NeedNumber { get; set; }
  27. [SugarColumn(ColumnName = "remaining_number", IsNullable = true)]
  28. public decimal? RemainingNumber { get; set; }
  29. [SugarColumn(ColumnName = "create_by", IsNullable = true)]
  30. public long? CreateBy { get; set; }
  31. [SugarColumn(ColumnName = "create_by_name", Length = 128, IsNullable = true)]
  32. public string? CreateByName { get; set; }
  33. [SugarColumn(ColumnName = "create_time", IsNullable = true)]
  34. public DateTime? CreateTime { get; set; }
  35. [SugarColumn(ColumnName = "update_by", IsNullable = true)]
  36. public long? UpdateBy { get; set; }
  37. [SugarColumn(ColumnName = "update_by_name", Length = 128, IsNullable = true)]
  38. public string? UpdateByName { get; set; }
  39. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  40. public DateTime? UpdateTime { get; set; }
  41. [SugarColumn(ColumnName = "IsDeleted", IsNullable = true)]
  42. public int? IsDeleted { get; set; }
  43. [SugarColumn(ColumnName = "factory_id", Length = 64, IsNullable = true)]
  44. public string? FactoryId { get; set; }
  45. [SugarColumn(ColumnName = "org_id", IsNullable = true)]
  46. public long? OrgId { get; set; }
  47. [SugarColumn(ColumnName = "company_id", IsNullable = true)]
  48. public long? CompanyId { get; set; }
  49. /// <summary>租户ID(多租户隔离)</summary>
  50. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  51. public long? TenantId { get; set; }
  52. }