CmUserGroupPermission.cs 644 B

1234567891011121314151617181920212223
  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 CmUserGroupPermission
  8. {
  9. [Key]
  10. public int SiteId { get; set; }
  11. [Key]
  12. public int UserGroupId { get; set; }
  13. [Key]
  14. [StringLength(50)]
  15. public string MenuId { get; set; }
  16. public short? MenuPermission { get; set; }
  17. [ForeignKey("SiteId,UserGroupId")]
  18. [InverseProperty("CmUserGroupPermission")]
  19. public virtual CmUserGroup CmUserGroup { get; set; }
  20. }
  21. }