AuthEntity.cs 811 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using SqlSugar;
  7. namespace Model
  8. {
  9. [SugarTable("auth")]
  10. public class AuthEntity : BaseEntity
  11. {
  12. [SugarColumn(ColumnDataType = "Nvarchar(255)", IsNullable = false)]
  13. public string Role { get; set; } = "管理员";
  14. public bool ControlModule { get; set; }
  15. public bool MonitorModule { get; set; }
  16. public bool RecipeModule { get; set; }
  17. public bool LogModule { get; set; }
  18. public bool ReportModule { get; set; }
  19. public bool ChartModule { get; set; }
  20. public bool ParamModule { get; set; }
  21. //管理员特有
  22. //public bool AuthModule { get; set; }
  23. public bool UserModule { get; set; }
  24. }
  25. }