BemsReportHistoryContent.cs 951 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities {
  6. [Display(Name = "일지내용", Description = "일지내용이 많아졌을때 varchar(max) 하나에 담기 어려워 분할한다.")]
  7. public partial class BemsReportHistoryContent {
  8. public BemsReportHistoryContent() {
  9. }
  10. [Display(Name = "사이트 ID"), Key]
  11. public int SiteId { get; set; }
  12. //리포트 포맷 관리
  13. [Display(Name = "일지 순번"), Key]
  14. public int Seq { get; set; }
  15. //리포트 포맷 관리
  16. [Display(Name = "내용 ID"), Key]
  17. public int ContentId { get; set; }
  18. [Display(Name = "내용")]
  19. public string Content { get; set; }
  20. [ForeignKey("SiteId,Seq")]
  21. public virtual BemsReportHistory BemsReportHistory { get; set; }
  22. }
  23. }