FMSMonthKeyWork.cs 831 B

12345678910111213141516171819202122232425262728
  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 FmsMonthKeyWork {
  7. public FmsMonthKeyWork() {
  8. }
  9. //근무형태
  10. [Display(Name = "현장 고유번호")]
  11. public int SiteId { get; set; }
  12. [Display(Name = "중점업무 고유번호"), Key]
  13. public int MonthKeyWorkId { get; set; }
  14. [Display(Name = "월")]
  15. public int Month { get; set; }
  16. [Display(Name = "업무명"), Required]
  17. [StringLength(255)]
  18. public string WorkName { get; set; }
  19. [NotMapped]
  20. public bool IsAllSite { get; set; }
  21. [ForeignKey("SiteId")]
  22. public virtual CmSite CmSite { get; set; }
  23. }
  24. }