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,126 +1,102 @@
|
||||
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 UserExt
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源表ID
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public int Id { get; set; }
|
||||
public partial class UserExt
|
||||
{
|
||||
public UserExt()
|
||||
{
|
||||
this.Id= 0;
|
||||
this.Email= string.Empty;
|
||||
this.Phone= string.Empty;
|
||||
this.Mobile= string.Empty;
|
||||
this.Address= string.Empty;
|
||||
this.Zip= string.Empty;
|
||||
this.Birthday= string.Empty;
|
||||
this.IdCard= string.Empty;
|
||||
this.Qq= string.Empty;
|
||||
this.DynamicField= string.Empty;
|
||||
this.ByteArrayId= 0;
|
||||
this.Remark= string.Empty;
|
||||
this.Field1= string.Empty;
|
||||
this.Field2= string.Empty;
|
||||
this.Field3= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 电子邮件
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Email { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 电子邮件
|
||||
/// </summary>
|
||||
public string Email { get; set; }
|
||||
/// <summary>
|
||||
/// 固定电话
|
||||
/// </summary>
|
||||
public string Phone { get; set; }
|
||||
/// <summary>
|
||||
/// 移动电话
|
||||
/// </summary>
|
||||
public string Mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 联系地址
|
||||
/// </summary>
|
||||
public string Address { get; set; }
|
||||
/// <summary>
|
||||
/// 邮编
|
||||
/// </summary>
|
||||
public string Zip { get; set; }
|
||||
/// <summary>
|
||||
/// 生日
|
||||
/// </summary>
|
||||
public string Birthday { get; set; }
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
public string IdCard { get; set; }
|
||||
/// <summary>
|
||||
/// QQ
|
||||
/// </summary>
|
||||
public string Qq { get; set; }
|
||||
/// <summary>
|
||||
/// 动态扩展字段
|
||||
/// </summary>
|
||||
public string DynamicField { get; set; }
|
||||
/// <summary>
|
||||
/// 用户头像流文件ID
|
||||
/// </summary>
|
||||
public int ByteArrayId { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 静态扩展字段1
|
||||
/// </summary>
|
||||
public string Field1 { get; set; }
|
||||
/// <summary>
|
||||
/// 静态扩展字段2
|
||||
/// </summary>
|
||||
public string Field2 { get; set; }
|
||||
/// <summary>
|
||||
/// 静态扩展字段3
|
||||
/// </summary>
|
||||
public string Field3 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 固定电话
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Phone_ { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 移动电话
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Mobile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 联系地址
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Address { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮编
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Zip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生日
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string IdCard { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// QQ
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string QQ { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动态扩展字段
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string DynamicField { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户头像流文件ID
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public int ByteArrayId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 静态扩展字段1
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Field1 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 静态扩展字段2
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Field2 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 静态扩展字段3
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Field3 { get; set; }
|
||||
|
||||
|
||||
public UserExt()
|
||||
{
|
||||
this.Id= 0;
|
||||
this.Email= string.Empty;
|
||||
this.Phone_= string.Empty;
|
||||
this.Mobile= string.Empty;
|
||||
this.Address= string.Empty;
|
||||
this.Zip= string.Empty;
|
||||
this.Birthday= string.Empty;
|
||||
this.IdCard= string.Empty;
|
||||
this.QQ= string.Empty;
|
||||
this.DynamicField= string.Empty;
|
||||
this.ByteArrayId= 0;
|
||||
this.Remark= string.Empty;
|
||||
this.Field1= string.Empty;
|
||||
this.Field2= string.Empty;
|
||||
this.Field3= string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user