mes_workshop_shelf.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_workshop_shelf")]
  12. [Comment("工位关联线边仓表")]
  13. public class mes_workshop_shelf : BaseEntity
  14. {
  15. ///// <summary>
  16. ///// 主键
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("主键")]
  20. //public long workshop_shelf_id { get; set; }
  21. /// <summary>
  22. /// 工位id
  23. /// </summary>
  24. [Required]
  25. [Comment("工位id")]
  26. public long? workshop_id { get; set; }
  27. /// <summary>
  28. /// 线边仓序列号
  29. /// </summary>
  30. [Comment("线边仓序列号")]
  31. public int? serialno { get; set; }
  32. /// <summary>
  33. /// 仓库编号
  34. /// </summary>
  35. [StringLength(100)]
  36. [Comment("仓库编号")]
  37. public string? sheifno { get; set; }
  38. /// <summary>
  39. /// 坐标
  40. /// </summary>
  41. [StringLength(100)]
  42. [Comment("坐标")]
  43. public string? geoinfo { get; set; }
  44. }
  45. }