PaidForModules.cs 622 B

123456789101112131415161718
  1. // Copyright (c) 2018 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
  2. // Licensed under MIT license. See License.txt in the project root for license information.
  3. namespace Hotline.Permissions
  4. {
  5. /// <summary>
  6. /// This is an example of how you would manage what optional parts of your system a user can access
  7. /// NOTE: You can add Display attributes (as done on Permissions) to give more information about a module
  8. /// </summary>
  9. [Flags]
  10. public enum PaidForModules : long
  11. {
  12. None = 0,
  13. Feature1 = 1,
  14. Feature2 = 2,
  15. Feature3 = 4
  16. }
  17. }