mes_tech_proc_icitem.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.Model.Tech
  7. {
  8. /// <summary>
  9. /// 发料到工序表
  10. /// </summary>
  11. [CollectionName("dopbase", "mes_tech_proc_icitem")]
  12. [Comment("发料到工序表")]
  13. public class mes_tech_proc_icitem : BaseEntity
  14. {
  15. ///// <summary>
  16. ///// 主键
  17. ///// </summary>
  18. ////[Key]
  19. ////[Comment("主键")]
  20. ////public long tech_proc_icitem_id { get; set; }
  21. /// <summary>
  22. /// 工艺工序id
  23. /// </summary>
  24. [Required]
  25. [Comment("工艺工序id")]
  26. public long? tech_proc_id { get; set; }
  27. /// <summary>
  28. /// 物料id
  29. /// </summary>
  30. [Required]
  31. [Comment("物料id")]
  32. public long? icitem_id { get; set; }
  33. /// <summary>
  34. /// 数量
  35. /// </summary>
  36. [Required]
  37. [Comment("数量")]
  38. public int? qty { get; set; }
  39. }
  40. }