b_order_examine_result.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel.DataAnnotations;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace Business.Model.Bang
  11. {
  12. /// <summary>
  13. /// 工单齐套检查
  14. /// </summary>
  15. [CollectionName("dopbang", "b_order_examine_result")]
  16. [Comment("工单齐套检查")]
  17. public class b_order_examine_result : BaseEntity
  18. {
  19. /// <summary>
  20. /// 工单id
  21. /// </summary>
  22. [Comment("工单id")]
  23. public long? orderid { get; set; }
  24. /// <summary>
  25. /// 生产工单编号
  26. /// </summary>
  27. [StringLength(50)]
  28. [Comment("生产工单编号")]
  29. public string? order_no { get; set; }
  30. /// <summary>
  31. /// 类别:1-工单齐套检查;2-替代料齐套检查
  32. /// </summary>
  33. [Comment("类别")]
  34. public int? type { get; set; }
  35. /// <summary>
  36. /// 开工日期
  37. /// </summary>
  38. [Comment("开工日期")]
  39. public DateTime? time { get; set; }
  40. /// <summary>
  41. /// 齐套日期
  42. /// </summary>
  43. [Comment("齐套日期")]
  44. public DateTime? ketting_time { get; set; }
  45. /// <summary>
  46. /// BOM编码
  47. /// </summary>
  48. [Comment("BOM编码")]
  49. public string? bom_number { get; set; }
  50. /// <summary>
  51. /// 需要数量
  52. /// </summary>
  53. [Comment("需要数量")]
  54. [Precision(23, 10)]
  55. public decimal? need_qty { get; set; }
  56. }
  57. }