FmsFacilityOperationReport.cs 879 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 FmsFacilityOperationReport {
  7. [Key]
  8. public int SiteId { get; set; }
  9. [Key]
  10. public int FacilityOperationReportId { get; set; }
  11. [Required]
  12. [StringLength(128)]
  13. public string Name { get; set; }
  14. [Required]
  15. [StringLength(1024)]
  16. public string Contents { get; set; }
  17. [Required]
  18. [StringLength(24)]
  19. public string RegisterUserId { get; set; }
  20. [Column(TypeName = "datetime")]
  21. public DateTime AddDate { get; set; }
  22. [ForeignKey("RegisterUserId")]
  23. [InverseProperty("FmsFacilityOperationReport")]
  24. public virtual CmUser CmUser { get; set; }
  25. }
  26. }