CmMenu.cs 680 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities
  6. {
  7. public partial class CmMenu
  8. {
  9. [Key]
  10. public int SiteId { get; set; }
  11. [Key]
  12. [StringLength(50)]
  13. public string MenuId { get; set; }
  14. public bool? Used { get; set; }
  15. [StringLength(255)]
  16. public string MenuPath { get; set; }
  17. [StringLength(50)]
  18. public string Name { get; set; }
  19. [ForeignKey(nameof(SiteId))]
  20. [InverseProperty(nameof(CmSite.CmMenu))]
  21. public virtual CmSite Site { get; set; }
  22. }
  23. }