BemsReportFormatToFacility.cs 747 B

1234567891011121314151617181920212223
  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 BemsReportFormatToFacility {
  7. [Display(Name = "사이트 ID"), Key]
  8. public int SiteId { get; set; }
  9. [Display(Name = "일지 포맷 ID"), Key]
  10. public int ReportFormatId { get; set; }
  11. [Display(Name = "설비고유코드"), Key]
  12. public int FacilityCode { get; set; }
  13. [ForeignKey("SiteId,ReportFormatId")]
  14. public virtual BemsReportFormat BemsReportFormat { get; set; }
  15. [ForeignKey("SiteId,FacilityCode")]
  16. public virtual CmFacility CmFacility { get; set; }
  17. }
  18. }