BemsReportFormatContent.cs 989 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 BemsReportFormatContent {
  8. public BemsReportFormatContent() {
  9. }
  10. [Display(Name = "사이트 ID"), Key]
  11. public int SiteId { get; set; }
  12. //리포트 포맷 관리
  13. [Display(Name = "일지 포맷 ID"), Key]
  14. public int ReportFormatId { 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,ReportFormatId")]
  21. public virtual BemsReportFormat BemsReportFormat { get; set; }
  22. }
  23. }