mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 03:14:45 +08:00
1 完成用户部门权限分配处理,可以为用户分配可见部门,如果没有任何可见部门,则只能查看自己有关的数据;
2 完善进出库实例; 3 添加CodeSmith生成EF DbContext Entity Mapping;
This commit is contained in:
@@ -1,63 +1,57 @@
|
||||
using System;
|
||||
//------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a CodeSmith Template.
|
||||
//
|
||||
// DO NOT MODIFY contents of this file. Changes to this
|
||||
// file will be lost if the code is regenerated.
|
||||
// Author:Yubao Li
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户配置
|
||||
/// <summary>
|
||||
/// 用户配置表
|
||||
/// </summary>
|
||||
public partial class UserCfg
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源表ID
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public int Id { get; set; }
|
||||
public partial class UserCfg
|
||||
{
|
||||
public UserCfg()
|
||||
{
|
||||
this.Id= 0;
|
||||
this.Theme= string.Empty;
|
||||
this.Skin= string.Empty;
|
||||
this.NavBarStyle= string.Empty;
|
||||
this.TabFocusColor= string.Empty;
|
||||
this.NavTabIndex= 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 用户界面主题
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Theme { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 用户界面主题
|
||||
/// </summary>
|
||||
public string Theme { get; set; }
|
||||
/// <summary>
|
||||
/// 用户界面皮肤
|
||||
/// </summary>
|
||||
public string Skin { get; set; }
|
||||
/// <summary>
|
||||
/// 导航条按钮风格
|
||||
/// </summary>
|
||||
public string NavBarStyle { get; set; }
|
||||
/// <summary>
|
||||
/// Tab高亮颜色
|
||||
/// </summary>
|
||||
public string TabFocusColor { get; set; }
|
||||
/// <summary>
|
||||
/// 导航缺省活动页
|
||||
/// </summary>
|
||||
public int NavTabIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户界面皮肤
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Skin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导航条按钮风格
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string NavBarStyle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tab高亮颜色
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string TabFocusColor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导航缺省活动页
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public int NavTabIndex { get; set; }
|
||||
|
||||
|
||||
public UserCfg()
|
||||
{
|
||||
this.Id= 0;
|
||||
this.Theme= string.Empty;
|
||||
this.Skin= string.Empty;
|
||||
this.NavBarStyle= string.Empty;
|
||||
this.TabFocusColor= string.Empty;
|
||||
this.NavTabIndex= 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user