You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. namespace ProRestaurant.Models.Restaurants
  3. {
  4. public class RestaurantRolePremission : BaseObject
  5. {
  6. [ForeignKey("Role")]
  7. public int RoleId { get; set; }
  8. public string Target { get; set; }
  9. public bool Navigate { get; set; }
  10. public bool Create { get; set; }
  11. public bool Read { get; set; }
  12. public bool Write { get; set; }
  13. public bool Delete { get; set; }
  14. public virtual RestaurantRole Role { get; set; }
  15. }
  16. }