123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using SqlSugar;
- namespace Model
- {
- [SugarTable("auth")]
- public class AuthEntity : BaseEntity
- {
- [SugarColumn(ColumnDataType = "Nvarchar(255)", IsNullable = false)]
- public string Role { get; set; } = "管理员";
- public bool ControlModule { get; set; }
- public bool MonitorModule { get; set; }
- public bool RecipeModule { get; set; }
- public bool LogModule { get; set; }
- public bool ReportModule { get; set; }
- public bool ChartModule { get; set; }
- public bool ParamModule { get; set; }
- //管理员特有
- //public bool AuthModule { get; set; }
- public bool UserModule { get; set; }
- }
- }
|