AclAuthorize.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace WMS.BZModels.Models.UserCenterManager
  8. {
  9. [Tenant("usercenter")]
  10. [SugarTable("Acl_Authorize")]
  11. public class AclAuthorize : BaseModel
  12. {
  13. /// <summary>
  14. /// 0用户, 1 角色 , 2用户组
  15. /// </summary>
  16. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "0用户, 1 角色 , 2用户组")]
  17. public int ObjTypeNum { get; set; }
  18. /// <summary>
  19. /// 设置项
  20. /// </summary>
  21. [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = false, ColumnDescription = "设置项")]
  22. public string ItemNO { get; set; }
  23. /// <summary>
  24. /// 1WebApp权限 2OnlineRFApp权限 3仓库权限 4供应商权限
  25. /// </summary>
  26. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "1WebApp权限 2OnlineRFApp权限 3仓库权限 4供应商权限")]
  27. public int AclTypeNum { get; set; }
  28. /// <summary>
  29. /// ObjNO
  30. /// </summary>
  31. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  32. public string ObjNO { get; set; }
  33. /// <summary>
  34. /// WarehouseNo
  35. /// </summary>
  36. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  37. public string WarehouseNo { get; set; }
  38. }
  39. }