mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-08 10:24:44 +08:00
每一次都是大放血
This commit is contained in:
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 应用
|
||||
|
||||
@@ -11,52 +11,46 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 分类表
|
||||
/// 分类表,表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集进行分类
|
||||
/// </summary>
|
||||
public partial class Category : Entity
|
||||
{
|
||||
public Category()
|
||||
{
|
||||
this.CascadeId= string.Empty;
|
||||
this.Name= string.Empty;
|
||||
this.Code= string.Empty;
|
||||
this.Status= 0;
|
||||
this.SortNo= 0;
|
||||
this.Icon= string.Empty;
|
||||
this.Description= string.Empty;
|
||||
this.TypeId= string.Empty;
|
||||
this.ParentId= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 节点语义ID
|
||||
/// </summary>
|
||||
public string CascadeId { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// 是否可用
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 当前状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
public bool Disabled { get; set; }
|
||||
/// <summary>
|
||||
/// 排序号
|
||||
/// </summary>
|
||||
public int SortNo { get; set; }
|
||||
/// <summary>
|
||||
/// 分类所属科目
|
||||
/// 分类图标
|
||||
/// </summary>
|
||||
public string Icon { get; set; }
|
||||
/// <summary>
|
||||
/// 分类描述
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
/// <summary>
|
||||
/// 分类类型ID
|
||||
/// </summary>
|
||||
public string TypeId { get; set; }
|
||||
/// <summary>
|
||||
/// 父节点流水号
|
||||
/// </summary>
|
||||
public string ParentId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 分类类型
|
||||
@@ -21,9 +21,7 @@ namespace OpenAuth.Domain
|
||||
public CategoryType()
|
||||
{
|
||||
this.Name= string.Empty;
|
||||
this.Code= string.Empty;
|
||||
this.CreateTime= DateTime.Now;
|
||||
this.CreateUser= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -31,17 +29,9 @@ namespace OpenAuth.Domain
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 创建日期
|
||||
/// </summary>
|
||||
public System.DateTime? CreateTime { get; set; }
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
public string CreateUser { get; set; }
|
||||
public System.DateTime CreateTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
public abstract class Entity
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 功能模块表
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 模块元素表(需要权限控制的按钮)
|
||||
@@ -22,7 +22,6 @@ namespace OpenAuth.Domain
|
||||
{
|
||||
this.DomId= string.Empty;
|
||||
this.Name= string.Empty;
|
||||
this.Type= string.Empty;
|
||||
this.Attr= string.Empty;
|
||||
this.Script= string.Empty;
|
||||
this.Icon= string.Empty;
|
||||
@@ -30,6 +29,8 @@ namespace OpenAuth.Domain
|
||||
this.Remark= string.Empty;
|
||||
this.Sort= 0;
|
||||
this.ModuleId= string.Empty;
|
||||
this.TypeName= string.Empty;
|
||||
this.TypeId= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -40,10 +41,6 @@ namespace OpenAuth.Domain
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
/// <summary>
|
||||
/// 元素附加属性
|
||||
/// </summary>
|
||||
@@ -72,6 +69,14 @@ namespace OpenAuth.Domain
|
||||
/// 功能模块Id
|
||||
/// </summary>
|
||||
public string ModuleId { get; set; }
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
public string TypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
public string TypeId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 组织表
|
||||
@@ -26,13 +26,14 @@ namespace OpenAuth.Domain
|
||||
this.ParentName= string.Empty;
|
||||
this.IconName= string.Empty;
|
||||
this.Status= 0;
|
||||
this.Type= 0;
|
||||
this.BizCode= string.Empty;
|
||||
this.CustomCode= string.Empty;
|
||||
this.CreateTime= DateTime.Now;
|
||||
this.CreateId= 0;
|
||||
this.SortNo= 0;
|
||||
this.ParentId= string.Empty;
|
||||
this.TypeName= string.Empty;
|
||||
this.TypeId= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -67,10 +68,6 @@ namespace OpenAuth.Domain
|
||||
/// 当前状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
/// <summary>
|
||||
/// 组织类型
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
/// <summary>
|
||||
/// 业务对照码
|
||||
/// </summary>
|
||||
@@ -95,6 +92,14 @@ namespace OpenAuth.Domain
|
||||
/// 父节点流水号
|
||||
/// </summary>
|
||||
public string ParentId { get; set; }
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
public string TypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
public string TypeId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 多对多关系集中映射
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源表
|
||||
@@ -27,8 +27,9 @@ namespace OpenAuth.Domain
|
||||
this.SortNo= 0;
|
||||
this.Description= string.Empty;
|
||||
this.ParentId= string.Empty;
|
||||
this.CategoryId= string.Empty;
|
||||
this.AppId= string.Empty;
|
||||
this.TypeName= string.Empty;
|
||||
this.TypeId= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -59,14 +60,18 @@ namespace OpenAuth.Domain
|
||||
/// 父节点流水号
|
||||
/// </summary>
|
||||
public string ParentId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源分类
|
||||
/// </summary>
|
||||
public string CategoryId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源所属应用
|
||||
/// </summary>
|
||||
public string AppId { get; set; }
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
public string TypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
public string TypeId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色表
|
||||
@@ -22,9 +22,10 @@ namespace OpenAuth.Domain
|
||||
{
|
||||
this.Name= string.Empty;
|
||||
this.Status= 0;
|
||||
this.Type= 0;
|
||||
this.CreateTime= DateTime.Now;
|
||||
this.CreateId= string.Empty;
|
||||
this.TypeName= string.Empty;
|
||||
this.TypeId= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -35,10 +36,6 @@ namespace OpenAuth.Domain
|
||||
/// 当前状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
/// <summary>
|
||||
/// 角色类型
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
@@ -47,6 +44,14 @@ namespace OpenAuth.Domain
|
||||
/// 创建人ID
|
||||
/// </summary>
|
||||
public string CreateId { get; set; }
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
public string TypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
public string TypeId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 出入库信息表
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户基本信息表
|
||||
@@ -25,10 +25,11 @@ namespace OpenAuth.Domain
|
||||
this.Name= string.Empty;
|
||||
this.Sex= 0;
|
||||
this.Status= 0;
|
||||
this.Type= 0;
|
||||
this.BizCode= string.Empty;
|
||||
this.CreateTime= DateTime.Now;
|
||||
this.CrateId= string.Empty;
|
||||
this.TypeName= string.Empty;
|
||||
this.TypeId= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -51,10 +52,6 @@ namespace OpenAuth.Domain
|
||||
/// 用户状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
/// <summary>
|
||||
/// 用户类型
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
/// <summary>
|
||||
/// 业务对照码
|
||||
/// </summary>
|
||||
@@ -67,6 +64,14 @@ namespace OpenAuth.Domain
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
public string CrateId { get; set; }
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
public string TypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
public string TypeId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单模板表
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流流程实例表
|
||||
@@ -103,6 +103,7 @@ namespace OpenAuth.Domain
|
||||
/// </summary>
|
||||
public string MakerList { get; set; }
|
||||
|
||||
|
||||
#region 扩展操作
|
||||
/// <summary>
|
||||
/// 新增调用
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流实例操作记录
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流实例模板对应表
|
||||
@@ -42,6 +42,7 @@ namespace OpenAuth.Domain
|
||||
/// </summary>
|
||||
public int? ProcessType { get; set; }
|
||||
|
||||
|
||||
#region 扩展操作
|
||||
/// <summary>
|
||||
/// 新增调用
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流实例流转历史记录
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流模板内容表
|
||||
|
||||
@@ -11,7 +11,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流模板信息表
|
||||
|
||||
Reference in New Issue
Block a user