Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

RestaurantRolePremission.cs 544B

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. }