TISP_Spot.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. #nullable disable
  5. namespace Ropin.Inspection.Model.Entities
  6. {
  7. public partial class TISP_Spot
  8. {
  9. public TISP_Spot()
  10. {
  11. TISP_Records = new HashSet<TISP_Record>();
  12. TISP_SpotContents = new HashSet<TISP_SpotContent>();
  13. TISP_SpotUsers = new HashSet<TISP_SpotUser>();
  14. TPRD_Products = new HashSet<TPRD_Product>();
  15. }
  16. [Key]
  17. public Guid C_Code { get; set; } = Guid.NewGuid();
  18. public string C_StoreCode { get; set; }
  19. public string C_Number { get; set; }
  20. public string C_Name { get; set; }
  21. public string C_Position { get; set; }
  22. public string C_QRCode { get; set; }
  23. public string C_AreaCode { get; set; }
  24. public decimal? F_Map_X { get; set; }
  25. public decimal? F_Map_Y { get; set; }
  26. public string C_GPS { get; set; }
  27. public int? I_Offset { get; set; }
  28. public string C_ImageUrl { get; set; }
  29. public string C_Remark { get; set; }
  30. public Guid C_CreateBy { get; set; }
  31. public DateTime D_CreateOn { get; set; }
  32. public Guid? C_LastUpdatedBy { get; set; }
  33. public DateTime? D_LastUpdatedOn { get; set; }
  34. public string C_Status { get; set; }
  35. public virtual TPNT_Area C_AreaCodeNavigation { get; set; }
  36. public virtual TSYS_User C_CreateByNavigation { get; set; }
  37. public virtual TSYS_User C_LastUpdatedByNavigation { get; set; }
  38. public virtual TPNT_Store C_StoreCodeNavigation { get; set; }
  39. public virtual ICollection<TISP_Record> TISP_Records { get; set; }
  40. public virtual ICollection<TISP_SpotContent> TISP_SpotContents { get; set; }
  41. public virtual ICollection<TISP_SpotUser> TISP_SpotUsers { get; set; }
  42. public virtual ICollection<TPRD_Product> TPRD_Products { get; set; }
  43. }
  44. }