CmInvestigation2History.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities {
  6. public partial class CmInvestigation2History {
  7. [Display(Name = "현장 고유번호"), Key]
  8. public int SiteId { get; set; }
  9. [Display(Name = "정보조사2 고유번호"), Key]
  10. public int InvestigationId { get; set; }
  11. [Display(Name = "정보조사2 이력 고유번호"), Key]
  12. public int HistoryId { get; set; }
  13. [Display(Name = "Rev번호")]
  14. public int? RevisionNo { get; set; }
  15. [Display(Name = "파일")]
  16. public int? FileId { get; set; }
  17. [Display(Name = "도면설명")]
  18. [StringLength(2000)]
  19. public string Description { get; set; }
  20. [Display(Name = "수정일")]
  21. [Column(TypeName = "datetime")]
  22. public DateTime? UpdatedDate { get; set; }
  23. [Display(Name = "수정자")]
  24. [StringLength(24)]
  25. public string UpdatedUserId { get; set; }
  26. [ForeignKey("SiteId,FileId")]
  27. public virtual CmFile CmFile { get; set; }
  28. [ForeignKey("SiteId")]
  29. public virtual CmSite CmSite { get; set; }
  30. [ForeignKey("UpdatedUserId")]
  31. public virtual CmUser CmUser { get; set; }
  32. [ForeignKey("SiteId,InvestigationId")]
  33. public virtual CmInvestigation2 CmInvestigation2 { get; set; }
  34. }
  35. }