转移.net core 3.1,为.NET 5做准备

This commit is contained in:
ÂëÉñ
2020-10-22 14:59:36 +08:00
parent fd9bca23a7
commit a35d596237
1080 changed files with 175912 additions and 185681 deletions

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 应用
/// </summary>
[Table("Application")]
public partial class Application : Entity
{
public Application()
@@ -31,30 +33,37 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 应用名称
/// </summary>
[Description("应用名称")]
public string Name { get; set; }
/// <summary>
/// 应用密钥
/// </summary>
[Description("应用密钥")]
public string AppSecret { get; set; }
/// <summary>
/// 应用描述
/// </summary>
[Description("应用描述")]
public string Description { get; set; }
/// <summary>
/// 应用图标
/// </summary>
[Description("应用图标")]
public string Icon { get; set; }
/// <summary>
/// 是否可用
/// </summary>
[Description("是否可用")]
public bool Disable { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[Description("创建日期")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUser { get; set; }
}

View File

@@ -0,0 +1,142 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 代码生成器的表信息
/// </summary>
[Table("BuilderTable")]
public partial class BuilderTable : Entity
{
public BuilderTable()
{
this.TableName= string.Empty;
this.Comment= string.Empty;
this.DetailTableName= string.Empty;
this.DetailComment= string.Empty;
this.ClassName= string.Empty;
this.Namespace= string.Empty;
this.ModuleCode= string.Empty;
this.ModuleName= string.Empty;
this.Folder= string.Empty;
this.Options= string.Empty;
this.TypeId= string.Empty;
this.TypeName= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
this.CreateUserName= string.Empty;
}
/// <summary>
/// 表英文全称
/// </summary>
[Description("表英文全称")]
public string TableName { get; set; }
/// <summary>
/// 表描述、中文名称
/// </summary>
[Description("表描述、中文名称")]
public string Comment { get; set; }
/// <summary>
/// 子表英文全称
/// </summary>
[Description("子表英文全称")]
public string DetailTableName { get; set; }
/// <summary>
/// 子表描述、中文名称
/// </summary>
[Description("子表描述、中文名称")]
public string DetailComment { get; set; }
/// <summary>
/// 实体类名称
/// </summary>
[Description("实体类名称")]
public string ClassName { get; set; }
/// <summary>
/// 命名空间
/// </summary>
[Description("命名空间")]
public string Namespace { get; set; }
/// <summary>
/// 模块标识
/// </summary>
[Description("模块标识")]
public string ModuleCode { get; set; }
/// <summary>
/// 模块名称
/// </summary>
[Description("模块名称")]
public string ModuleName { get; set; }
/// <summary>
/// 代码相对文件夹路径
/// </summary>
[Description("代码相对文件夹路径")]
public string Folder { get; set; }
/// <summary>
/// 其它生成选项
/// </summary>
[Description("其它生成选项")]
public string Options { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
[Browsable(false)]
public string TypeId { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Description("修改时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 修改人ID
/// </summary>
[Description("修改人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 修改人姓名
/// </summary>
[Description("修改人姓名")]
public string UpdateUserName { get; set; }
/// <summary>
/// 创建人姓名
/// </summary>
[Description("创建人姓名")]
public string CreateUserName { get; set; }
}
}

View File

@@ -0,0 +1,192 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 代码生成器的字段信息
/// </summary>
[Table("BuilderTableColumn")]
public partial class BuilderTableColumn : Entity
{
public BuilderTableColumn()
{
this.TableId= string.Empty;
this.TableName= string.Empty;
this.ColumnName= string.Empty;
this.Comment= string.Empty;
this.ColumnType= string.Empty;
this.EntityType= string.Empty;
this.EntityName= string.Empty;
this.QueryType= string.Empty;
this.HtmlType= string.Empty;
this.EditType= string.Empty;
this.Sort= 0;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
this.CreateUserName= string.Empty;
}
/// <summary>
/// 归属表编号
/// </summary>
[Description("归属表编号")]
[Browsable(false)]
public string TableId { get; set; }
/// <summary>
/// 表名称
/// </summary>
[Description("表名称")]
public string TableName { get; set; }
/// <summary>
/// 列名称
/// </summary>
[Description("列名称")]
public string ColumnName { get; set; }
/// <summary>
/// 列描述
/// </summary>
[Description("列描述")]
public string Comment { get; set; }
/// <summary>
/// 列类型
/// </summary>
[Description("列类型")]
public string ColumnType { get; set; }
/// <summary>
/// 实体类型
/// </summary>
[Description("实体类型")]
public string EntityType { get; set; }
/// <summary>
/// 实体名称
/// </summary>
[Description("实体名称")]
public string EntityName { get; set; }
/// <summary>
/// 是否主键
/// </summary>
[Description("是否主键")]
public bool IsKey { get; set; }
/// <summary>
/// 是否自增
/// </summary>
[Description("是否自增")]
public bool IsIncrement { get; set; }
/// <summary>
/// 是否必填
/// </summary>
[Description("是否必填")]
public bool IsRequired { get; set; }
/// <summary>
/// 是否为插入字段
/// </summary>
[Description("是否为插入字段")]
public bool IsInsert { get; set; }
/// <summary>
/// 是否编辑字段
/// </summary>
[Description("是否编辑字段")]
public bool IsEdit { get; set; }
/// <summary>
/// 是否列表字段
/// </summary>
[Description("是否列表字段")]
public bool IsList { get; set; }
/// <summary>
/// 是否查询字段
/// </summary>
[Description("是否查询字段")]
public bool IsQuery { get; set; }
/// <summary>
/// 查询方式(等于、不等于、大于、小于、范围)
/// </summary>
[Description("查询方式(等于、不等于、大于、小于、范围)")]
public string QueryType { get; set; }
/// <summary>
/// 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
/// </summary>
[Description("显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)")]
public string HtmlType { get; set; }
/// <summary>
/// 编辑类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
/// </summary>
[Description("编辑类型(文本框、文本域、下拉框、复选框、单选框、日期控件)")]
public string EditType { get; set; }
/// <summary>
/// 排序
/// </summary>
[Description("排序")]
public int Sort { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Description("修改时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 修改人ID
/// </summary>
[Description("修改人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 修改时的行位置
/// </summary>
[Description("修改时的行位置")]
public int? EditRow { get; set; }
/// <summary>
/// 修改时的列位置
/// </summary>
[Description("修改时的列位置")]
public int? EditCol { get; set; }
/// <summary>
/// 修改人姓名
/// </summary>
[Description("修改人姓名")]
public string UpdateUserName { get; set; }
/// <summary>
/// 创建人姓名
/// </summary>
[Description("创建人姓名")]
public string CreateUserName { get; set; }
/// <summary>
/// 最大长度
/// </summary>
[Description("最大长度")]
public int? MaxLength { get; set; }
/// <summary>
/// 数据源(用于下拉框、复选框等取值)
/// </summary>
[Description("数据源(用于下拉框、复选框等取值)")]
public string DataSource { get; set; }
}
}

View File

@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
@@ -8,49 +8,100 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 分类表,表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集进行分类
/// 分类表,也可用作数据字典。表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集
/// </summary>
[Table("Category")]
public partial class Category : Entity
{
public Category()
{
this.Name= string.Empty;
this.DtCode= string.Empty;
this.DtValue= string.Empty;
this.SortNo= 0;
this.Icon= string.Empty;
this.Description= string.Empty;
this.TypeId= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
}
/// <summary>
/// 名称
/// </summary>
/// 名称
/// </summary>
[Description("名称")]
public string Name { get; set; }
/// <summary>
/// 是否可用
/// </summary>
public bool Disabled { get; set; }
/// 代码
/// </summary>
[Description("代码")]
public string DtCode { get; set; }
/// <summary>
/// 排序号
/// </summary>
/// 通常与字典代码标识一致,但万一有不一样的情况呢?
/// </summary>
[Description("值")]
public string DtValue { get; set; }
/// <summary>
/// 是否可用
/// </summary>
[Description("是否可用")]
public bool Enable { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int SortNo { get; set; }
/// <summary>
/// 分类图标
/// </summary>
public string Icon { get; set; }
/// <summary>
/// 分类描述
/// </summary>
/// 描述
/// </summary>
[Description("描述")]
public string Description { get; set; }
/// <summary>
/// 分类类型ID
/// </summary>
/// 分类ID
/// </summary>
[Description("分类标识")]
public string TypeId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
}
}

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 分类类型
/// </summary>
[Table("CategoryType")]
public partial class CategoryType : Entity
{
public CategoryType()
@@ -27,10 +29,12 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 名称
/// </summary>
[Description("名称")]
public string Name { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
}

View File

@@ -0,0 +1,102 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 系统授权规制表
/// </summary>
[Table("DataPrivilegeRule")]
public partial class DataPrivilegeRule : Entity
{
public DataPrivilegeRule()
{
this.SourceCode= string.Empty;
this.SubSourceCode= string.Empty;
this.Description= string.Empty;
this.SortNo= 0;
this.PrivilegeRules= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
}
/// <summary>
/// 资源标识(模块编号)
/// </summary>
[Description("模块编号")]
public string SourceCode { get; set; }
/// <summary>
/// 二级资源标识
/// </summary>
[Description("二级资源标识")]
[Browsable(false)]
public string SubSourceCode { get; set; }
/// <summary>
/// 权限描述
/// </summary>
[Description("权限描述")]
public string Description { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int SortNo { get; set; }
/// <summary>
/// 权限规则
/// </summary>
[Description("权限规则")]
public string PrivilegeRules { get; set; }
/// <summary>
/// 是否可用
/// </summary>
[Description("是否可用")]
public bool Enable { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
}
}

View File

@@ -7,15 +7,18 @@
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 工作流流程实例表
/// </summary>
[Table("FlowInstance")]
public partial class FlowInstance : Entity
{
public FlowInstance()
@@ -29,8 +32,8 @@ namespace OpenAuth.Repository.Domain
this.SchemeContent= string.Empty;
this.SchemeId= string.Empty;
this.DbName= string.Empty;
this.FrmData= string.Empty;
this.FrmType= 0;
this.FrmData = string.Empty;
this.FrmContentData= string.Empty;
this.FrmContentParse= string.Empty;
this.FrmId= string.Empty;
@@ -46,99 +49,131 @@ namespace OpenAuth.Repository.Domain
}
/// <summary>
/// 流程实例模板Id
/// 流程实例模板Id【已废弃】
/// </summary>
[Description("流程实例模板Id")]
public string InstanceSchemeId { get; set; }
/// <summary>
/// 实例编号
/// </summary>
[Description("实例编号")]
public string Code { get; set; }
/// <summary>
/// 自定义名称
/// </summary>
[Description("自定义名称")]
public string CustomName { get; set; }
/// <summary>
/// 当前节点ID
/// </summary>
[Description("当前节点ID")]
public string ActivityId { get; set; }
/// <summary>
/// 当前节点类型 -1无法运行,0会签开始,1会签结束,2一般节点,4流程运行结束
/// 当前节点类型0会签节点
/// </summary>
[Description("当前节点类型0会签节点")]
public int? ActivityType { get; set; }
/// <summary>
/// 当前节点名称
/// </summary>
[Description("当前节点名称")]
public string ActivityName { get; set; }
/// <summary>
/// 前一个ID
/// </summary>
[Description("前一个ID")]
public string PreviousId { get; set; }
/// <summary>
/// 流程模板内容
/// </summary>
[Description("流程模板内容")]
public string SchemeContent { get; set; }
/// <summary>
/// 流程模板ID
/// </summary>
[Description("流程模板ID")]
public string SchemeId { get; set; }
/// <summary>
/// 数据库名称
/// </summary>
[Description("数据库名称")]
public string DbName { get; set; }
/// <summary>
/// 表单数据
/// </summary>
[Description("表单数据")]
public string FrmData { get; set; }
/// <summary>
/// 表单类型
/// </summary>
[Description("表单类型")]
public int FrmType { get; set; }
/// <summary>
/// 表单中的字段数据
/// 表单中的控件属性描述
/// </summary>
[Description("表单中的控件属性描述")]
public string FrmContentData { get; set; }
/// <summary>
/// 表单内容
/// 表单控件位置模板
/// </summary>
[Description("表单控件位置模板")]
public string FrmContentParse { get; set; }
/// <summary>
/// 表单ID
/// </summary>
[Description("表单ID")]
public string FrmId { get; set; }
/// <summary>
/// 流程类型
/// </summary>
[Description("流程类型")]
public string SchemeType { get; set; }
/// <summary>
/// 有效标志
/// </summary>
[Description("有效标志")]
public int Disabled { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[Description("创建用户主键")]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CreateUserName { get; set; }
/// <summary>
/// 等级
/// </summary>
[Description("等级")]
public int FlowLevel { get; set; }
/// <summary>
/// 实例备注
/// </summary>
[Description("实例备注")]
public string Description { get; set; }
/// <summary>
/// 是否完成 0未完成1完成并同意2被召回3完成但不同意 4被驳回需要重新提交
/// 是否完成
/// </summary>
[Description("是否完成")]
public int IsFinish { get; set; }
/// <summary>
/// 执行人
/// </summary>
[Description("执行人")]
public string MakerList { get; set; }
public string FrmData { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Description("所属部门")]
public string OrgId { get; set; }
}
}

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 工作流实例操作记录
/// </summary>
[Table("FlowInstanceOperationHistory")]
public partial class FlowInstanceOperationHistory : Entity
{
public FlowInstanceOperationHistory()
@@ -30,22 +32,27 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 实例进程Id
/// </summary>
[Description("实例进程Id")]
public string InstanceId { get; set; }
/// <summary>
/// 操作内容
/// </summary>
[Description("操作内容")]
public string Content { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[Description("创建用户主键")]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CreateUserName { get; set; }
}

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 工作流实例流转历史记录
/// </summary>
[Table("FlowInstanceTransitionHistory")]
public partial class FlowInstanceTransitionHistory : Entity
{
public FlowInstanceTransitionHistory()
@@ -35,50 +37,62 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 实例Id
/// </summary>
[Description("实例Id")]
public string InstanceId { get; set; }
/// <summary>
/// 开始节点Id
/// </summary>
[Description("开始节点Id")]
public string FromNodeId { get; set; }
/// <summary>
/// 开始节点类型
/// </summary>
[Description("开始节点类型")]
public int? FromNodeType { get; set; }
/// <summary>
/// 开始节点名称
/// </summary>
[Description("开始节点名称")]
public string FromNodeName { get; set; }
/// <summary>
/// 结束节点Id
/// </summary>
[Description("结束节点Id")]
public string ToNodeId { get; set; }
/// <summary>
/// 结束节点类型
/// </summary>
[Description("结束节点类型")]
public int? ToNodeType { get; set; }
/// <summary>
/// 结束节点名称
/// </summary>
[Description("结束节点名称")]
public string ToNodeName { get; set; }
/// <summary>
/// 转化状态
/// </summary>
[Description("转化状态")]
public int TransitionSate { get; set; }
/// <summary>
/// 是否结束
/// </summary>
[Description("是否结束")]
public int IsFinish { get; set; }
/// <summary>
/// 转化时间
/// </summary>
[Description("转化时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 操作人Id
/// </summary>
[Description("操作人Id")]
public string CreateUserId { get; set; }
/// <summary>
/// 操作人名称
/// </summary>
[Description("操作人名称")]
public string CreateUserName { get; set; }
}

View File

@@ -7,15 +7,18 @@
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 工作流模板信息表
/// </summary>
[Table("FlowScheme")]
public partial class FlowScheme : Entity
{
public FlowScheme()
@@ -44,79 +47,104 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 流程编号
/// </summary>
[Description("流程编号")]
public string SchemeCode { get; set; }
/// <summary>
/// 流程名称
/// </summary>
[Description("流程名称")]
public string SchemeName { get; set; }
/// <summary>
/// 流程分类
/// </summary>
[Description("流程分类")]
public string SchemeType { get; set; }
/// <summary>
/// 流程内容版本
/// </summary>
[Description("流程内容版本")]
public string SchemeVersion { get; set; }
/// <summary>
/// 流程模板使用者
/// </summary>
[Description("流程模板使用者")]
public string SchemeCanUser { get; set; }
/// <summary>
/// 流程内容
/// </summary>
[Description("流程内容")]
public string SchemeContent { get; set; }
/// <summary>
/// 表单ID
/// </summary>
[Description("表单ID")]
public string FrmId { get; set; }
/// <summary>
/// 表单类型
/// </summary>
[Description("表单类型")]
public int FrmType { get; set; }
/// <summary>
/// 模板权限类型0完全公开,1指定部门/人员
/// </summary>
[Description("模板权限类型0完全公开,1指定部门/人员")]
public int AuthorizeType { get; set; }
/// <summary>
/// 排序码
/// </summary>
[Description("排序码")]
public int SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[Description("删除标记")]
public int DeleteMark { get; set; }
/// <summary>
/// 有效
/// </summary>
[Description("有效")]
public int Disabled { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[Description("创建用户主键")]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CreateUserName { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Description("修改时间")]
public System.DateTime? ModifyDate { get; set; }
/// <summary>
/// 修改用户主键
/// </summary>
[Description("修改用户主键")]
public string ModifyUserId { get; set; }
/// <summary>
/// 修改用户
/// </summary>
[Description("修改用户")]
public string ModifyUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Description("所属部门")]
public string OrgId { get; set; }
}
}

View File

@@ -8,27 +8,31 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 表单模板表
/// </summary>
[Table("Form")]
public partial class Form : Entity
{
public Form()
{
this.Name= string.Empty;
this.FrmType= 0;
this.WebId= string.Empty;
this.Fields= 0;
this.ContentData= string.Empty;
this.ContentParse= string.Empty;
this.Content= string.Empty;
this.SortCode= 0;
this.Delete= 0;
this.DeleteMark= 0;
this.DbName= string.Empty;
this.Enabled= 0;
this.Disabled= 0;
this.Description= string.Empty;
this.CreateDate= DateTime.Now;
this.CreateUserId= string.Empty;
@@ -41,67 +45,99 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 表单名称
/// </summary>
[Description("表单名称")]
public string Name { get; set; }
/// <summary>
/// 表单类型0默认动态表单1Web自定义表单
/// </summary>
[Description("表单类型0默认动态表单1Web自定义表单")]
public int FrmType { get; set; }
/// <summary>
/// 系统页面标识当表单类型为用Web自定义的表单时需要标识加载哪个页面
/// </summary>
[Description("系统页面标识当表单类型为用Web自定义的表单时需要标识加载哪个页面")]
public string WebId { get; set; }
/// <summary>
/// 字段个数
/// </summary>
[Description("字段个数")]
public int Fields { get; set; }
/// <summary>
/// 表单中的字段数据
/// 表单中的控件属性描述
/// </summary>
[Description("表单中的控件属性描述")]
public string ContentData { get; set; }
/// <summary>
/// 表单替换的模板 经过处理
/// 表单控件位置模板
/// </summary>
[Description("表单控件位置模板")]
public string ContentParse { get; set; }
/// <summary>
/// 表单原html模板未经处理的
/// </summary>
[Description("表单原html模板未经处理的")]
public string Content { get; set; }
/// <summary>
/// 排序码
/// </summary>
[Description("排序码")]
public int SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
public int Delete { get; set; }
[Description("删除标记")]
public int DeleteMark { get; set; }
/// <summary>
/// 数据库名称
/// </summary>
[Description("数据库名称")]
public string DbName { get; set; }
/// <summary>
/// 有效
/// </summary>
public int Enabled { get; set; }
[Description("有效")]
public int Disabled { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[Description("创建用户主键")]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CreateUserName { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Description("修改时间")]
public System.DateTime? ModifyDate { get; set; }
/// <summary>
/// 修改用户主键
/// </summary>
[Description("修改用户主键")]
public string ModifyUserId { get; set; }
/// <summary>
/// 修改用户
/// </summary>
[Description("修改用户")]
public string ModifyUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Description("所属部门")]
public string OrgId { get; set; }
}
}

View File

@@ -0,0 +1,102 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 模拟一个自定页面的表单该数据会关联到流程实例FrmData可用于复杂页面的设计及后期的数据分析
/// </summary>
[Table("FrmLeaveReq")]
public partial class FrmLeaveReq : Entity
{
public FrmLeaveReq()
{
this.UserName= string.Empty;
this.RequestType= string.Empty;
this.StartDate= DateTime.Now;
this.StartTime= DateTime.Now;
this.EndDate= DateTime.Now;
this.EndTime= DateTime.Now;
this.RequestComment= string.Empty;
this.Attachment= string.Empty;
this.CreateDate= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.FlowInstanceId = string.Empty;
}
/// <summary>
/// 请假人姓名
/// </summary>
[Description("请假人姓名")]
public string UserName { get; set; }
/// <summary>
/// 请假分类,病假,事假,公休等
/// </summary>
[Description("请假分类,病假,事假,公休等")]
public string RequestType { get; set; }
/// <summary>
/// 开始日期
/// </summary>
[Description("开始日期")]
public System.DateTime StartDate { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Description("开始时间")]
public System.DateTime? StartTime { get; set; }
/// <summary>
/// 结束日期
/// </summary>
[Description("结束日期")]
public System.DateTime EndDate { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Description("结束时间")]
public System.DateTime? EndTime { get; set; }
/// <summary>
/// 请假说明
/// </summary>
[Description("请假说明")]
public string RequestComment { get; set; }
/// <summary>
/// 附件,用于提交病假证据等
/// </summary>
[Description("附件,用于提交病假证据等")]
public string Attachment { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[Description("创建用户主键")]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CreateUserName { get; set; }
/// <summary>
/// 所属流程实例ID
/// </summary>
public string FlowInstanceId { get; set; }
}
}

View File

@@ -7,9 +7,9 @@
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
@@ -17,58 +17,78 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 功能模块表
/// </summary>
[Table("Module")]
public partial class Module : TreeEntity
{
public Module()
{
this.CascadeId= string.Empty;
this.Name= string.Empty;
this.Url= string.Empty;
this.HotKey= string.Empty;
this.IconName= string.Empty;
this.Status= 0;
this.ParentName= string.Empty;
this.Vector= string.Empty;
this.SortNo= 0;
this.Code = string.Empty;
this.ParentId= string.Empty;
this.Code= string.Empty;
}
/// <summary>
/// 主页面URL
/// </summary>
[Description("主页面URL")]
public string Url { get; set; }
/// <summary>
/// 热键
/// </summary>
[Description("热键")]
public string HotKey { get; set; }
/// <summary>
/// 是否叶子节点
/// </summary>
[Description("是否叶子节点")]
public bool IsLeaf { get; set; }
/// <summary>
/// 是否自动展开
/// </summary>
[Description("是否自动展开")]
public bool IsAutoExpand { get; set; }
/// <summary>
/// 节点图标文件名称
/// </summary>
[Description("节点图标文件名称")]
public string IconName { get; set; }
/// <summary>
/// 当前状态
/// </summary>
/// 当前状态0正常-1隐藏不在导航列表中显示
/// </summary>
[Description("当前状态")]
public int Status { get; set; }
/// <summary>
/// 矢量图标
/// </summary>
[Description("矢量图标")]
public string Vector { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int SortNo { get; set; }
/// <summary>
/// 模块标识
/// </summary>
/// <value>The code.</value>
/// 模块标识
/// </summary>
[Description("模块标识")]
public string Code { get; set; }
/// <summary>
/// 是否系统模块
/// </summary>
[Description("是否系统模块")]
public bool IsSys { get; set; }
}
}

View File

@@ -7,15 +7,17 @@
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 模块元素表(需要权限控制的按钮)
/// </summary>
[Table("ModuleElement")]
public partial class ModuleElement : Entity
{
public ModuleElement()
@@ -36,46 +38,57 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// DOM ID
/// </summary>
[Description("DOM ID")]
public string DomId { get; set; }
/// <summary>
/// 名称
/// </summary>
[Description("名称")]
public string Name { get; set; }
/// <summary>
/// 元素附加属性
/// </summary>
[Description("元素附加属性")]
public string Attr { get; set; }
/// <summary>
/// 元素调用脚本
/// </summary>
[Description("元素调用脚本")]
public string Script { get; set; }
/// <summary>
/// 元素图标
/// </summary>
[Description("元素图标")]
public string Icon { get; set; }
/// <summary>
/// 元素样式
/// </summary>
[Description("元素样式")]
public string Class { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 排序字段
/// </summary>
[Description("排序字段")]
public int Sort { get; set; }
/// <summary>
/// 功能模块Id
/// </summary>
[Description("功能模块Id")]
public string ModuleId { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
}

View File

@@ -0,0 +1,148 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 定时任务
/// </summary>
[Table("OpenJob")]
public partial class OpenJob : Entity
{
public OpenJob()
{
this.JobName= string.Empty;
this.RunCount= 0;
this.ErrorCount= 0;
this.NextRunTime= DateTime.Now;
this.LastRunTime= DateTime.Now;
this.LastErrorTime= DateTime.Now;
this.JobType= 0;
this.JobCall= string.Empty;
this.JobCallParams= string.Empty;
this.Cron= string.Empty;
this.Status= 0;
this.Remark= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
this.OrgId= string.Empty;
}
/// <summary>
/// 任务名称
/// </summary>
[Description("任务名称")]
public string JobName { get; set; }
/// <summary>
/// 任务执行次数
/// </summary>
[Description("任务执行次数")]
public int RunCount { get; set; }
/// <summary>
/// 异常次数
/// </summary>
[Description("异常次数")]
public int ErrorCount { get; set; }
/// <summary>
/// 下次执行时间
/// </summary>
[Description("下次执行时间")]
public System.DateTime? NextRunTime { get; set; }
/// <summary>
/// 最后一次执行时间
/// </summary>
[Description("最后一次执行时间")]
public System.DateTime? LastRunTime { get; set; }
/// <summary>
/// 最后一次失败时间
/// </summary>
[Description("最后一次失败时间")]
public System.DateTime? LastErrorTime { get; set; }
/// <summary>
/// 任务执行方式0本地任务1外部接口任务
/// </summary>
[Description("任务执行方式0本地任务1外部接口任务")]
public int JobType { get; set; }
/// <summary>
/// 任务地址
/// </summary>
[Description("任务地址")]
public string JobCall { get; set; }
/// <summary>
/// 任务参数JSON格式
/// </summary>
[Description("任务参数JSON格式")]
public string JobCallParams { get; set; }
/// <summary>
/// CRON表达式
/// </summary>
[Description("CRON表达式")]
public string Cron { get; set; }
/// <summary>
/// 任务运行状态0停止1正在运行2暂停
/// </summary>
[Description("任务运行状态0停止1正在运行2暂停")]
public int Status { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Description("所属部门")]
[Browsable(false)]
public string OrgId { get; set; }
}
}

View File

@@ -8,8 +8,8 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
@@ -17,77 +17,87 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 组织表
/// </summary>
[Table("Org")]
public partial class Org : TreeEntity
{
public Org()
{
this.CascadeId = string.Empty;
this.Name = string.Empty;
this.HotKey = string.Empty;
this.ParentName = string.Empty;
this.IconName = string.Empty;
this.Status = 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;
this.CascadeId= string.Empty;
this.Name= string.Empty;
this.HotKey= string.Empty;
this.ParentName= string.Empty;
this.IconName= string.Empty;
this.Status= 0;
this.BizCode= string.Empty;
this.CustomCode= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateId= 0;
this.SortNo= 0;
this.ParentId= null;
this.TypeName= string.Empty;
this.TypeId= string.Empty;
}
/// <summary>
/// 热键
/// </summary>
[Description("热键")]
public string HotKey { get; set; }
/// <summary>
/// 是否叶子节点
/// </summary>
/// 是否叶子节点
/// </summary>
[Description("是否叶子节点")]
public bool IsLeaf { get; set; }
/// <summary>
/// 是否自动展开
/// </summary>
[Description("是否自动展开")]
public bool IsAutoExpand { get; set; }
/// <summary>
/// 节点图标文件名称
/// </summary>
[Description("节点图标文件名称")]
public string IconName { get; set; }
/// <summary>
/// 当前状态
/// </summary>
[Description("当前状态")]
public int Status { get; set; }
/// <summary>
/// 业务对照码
/// </summary>
[Description("业务对照码")]
public string BizCode { get; set; }
/// <summary>
/// 自定义扩展码
/// </summary>
[Description("自定义扩展码")]
public string CustomCode { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
public int CreateId { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int SortNo { get; set; }
/// <summary>
/// 分类名称
/// </summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
}

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 多对多关系集中映射
/// </summary>
[Table("Relevance")]
public partial class Relevance : Entity
{
public Relevance()
@@ -27,36 +29,55 @@ namespace OpenAuth.Repository.Domain
this.OperatorId= string.Empty;
this.FirstId= string.Empty;
this.SecondId= string.Empty;
this.ThirdId= string.Empty;
this.ExtendInfo= string.Empty;
}
/// <summary>
/// 描述
/// </summary>
[Description("描述")]
public string Description { get; set; }
/// <summary>
/// 映射标识
/// </summary>
[Description("映射标识")]
public string Key { get; set; }
/// <summary>
/// 状态
/// </summary>
[Description("状态")]
public int Status { get; set; }
/// <summary>
/// 授权时间
/// </summary>
[Description("授权时间")]
public System.DateTime OperateTime { get; set; }
/// <summary>
/// 授权人
/// </summary>
[Description("授权人")]
public string OperatorId { get; set; }
/// <summary>
/// 第一个表主键ID
/// </summary>
[Description("第一个表主键ID")]
public string FirstId { get; set; }
/// <summary>
/// 第二个表主键ID
/// </summary>
[Description("第二个表主键ID")]
public string SecondId { get; set; }
/// <summary>
/// 第三个主键
/// </summary>
[Description("第三个主键")]
public string ThirdId { get; set; }
/// <summary>
/// 扩展信息
/// </summary>
[Description("扩展信息")]
public string ExtendInfo { get; set; }
}
}

View File

@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
@@ -8,74 +8,104 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 资源表
/// </summary>
public partial class Resource : Entity
[Table("Resource")]
public partial class Resource : TreeEntity
{
public Resource()
{
this.CascadeId= string.Empty;
this.Name= string.Empty;
this.SortNo= 0;
this.Description= string.Empty;
this.ParentName= string.Empty;
this.ParentId= string.Empty;
this.AppId= string.Empty;
this.AppName= string.Empty;
this.TypeName= string.Empty;
this.TypeId= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
}
/// <summary>
/// 节点语义ID
/// </summary>
public string CascadeId { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 排序号
/// </summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int SortNo { get; set; }
/// <summary>
/// 描述
/// </summary>
/// 描述
/// </summary>
[Description("描述")]
public string Description { get; set; }
/// <summary>
/// 父节点名称
/// </summary>
public string ParentName { get; set; }
/// <summary>
/// 父节点流ID
/// </summary>
public string ParentId { get; set; }
/// <summary>
/// 资源所属应用ID
/// </summary>
/// 资源所属应用ID
/// </summary>
[Description("资源所属应用ID")]
[Browsable(false)]
public string AppId { get; set; }
/// <summary>
/// 所属应用名称
/// </summary>
/// 所属应用名称
/// </summary>
[Description("所属应用名称")]
public string AppName { get; set; }
/// <summary>
/// 分类名称
/// </summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
[Browsable(false)]
public string TypeId { get; set; }
/// <summary>
/// 是否可用
/// </summary>
/// 是否可用
/// </summary>
[Description("是否可用")]
public bool Disable { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
}
}

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 角色表
/// </summary>
[Table("Role")]
public partial class Role : Entity
{
public Role()
@@ -31,26 +33,32 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 角色名称
/// </summary>
[Description("角色名称")]
public string Name { get; set; }
/// <summary>
/// 当前状态
/// </summary>
[Description("当前状态")]
public int Status { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
public string CreateId { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
}

View File

@@ -1,67 +0,0 @@
//------------------------------------------------------------------------------
// <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.Text;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 出入库信息表
/// </summary>
public partial class Stock : Entity
{
public Stock()
{
this.Name= string.Empty;
this.Number= 0;
this.Price= 0;
this.Status= 0;
this.Viewable= string.Empty;
this.User= string.Empty;
this.Time= DateTime.Now;
this.OrgId= string.Empty;
}
/// <summary>
/// 产品名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 产品数量
/// </summary>
public int Number { get; set; }
/// <summary>
/// 产品单价
/// </summary>
public decimal Price { get; set; }
/// <summary>
/// 出库/入库
/// </summary>
public int Status { get; set; }
/// <summary>
/// 可见范围
/// </summary>
public string Viewable { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string User { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public System.DateTime Time { get; set; }
/// <summary>
/// 组织ID
/// </summary>
public string OrgId { get; set; }
}
}

View File

@@ -0,0 +1,86 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 系统日志
/// </summary>
[Table("SysLog")]
public partial class SysLog : Entity
{
public SysLog()
{
this.Content= string.Empty;
this.TypeName= string.Empty;
this.TypeId= string.Empty;
this.Href= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateId= string.Empty;
this.CreateName= string.Empty;
this.Ip= string.Empty;
this.Application = string.Empty;
this.Result= 0;
}
/// <summary>
/// 日志内容
/// </summary>
[Description("日志内容")]
public string Content { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
/// <summary>
/// 操作所属模块地址
/// </summary>
[Description("操作所属模块地址")]
public string Href { get; set; }
/// <summary>
/// 记录时间
/// </summary>
[Description("记录时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 操作人ID
/// </summary>
[Description("操作人ID")]
public string CreateId { get; set; }
/// <summary>
/// 操作人
/// </summary>
[Description("操作人")]
public string CreateName { get; set; }
/// <summary>
/// 操作机器的IP地址
/// </summary>
[Description("操作机器的IP地址")]
public string Ip { get; set; }
/// <summary>
/// 操作的结果0成功1失败
/// </summary>
[Description("操作的结果0成功1失败")]
public int Result { get; set; }
public string Application { get; set; }
}
}

View File

@@ -0,0 +1,107 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 系统消息表
/// </summary>
[Table("SysMessage")]
public partial class SysMessage : Entity
{
public SysMessage()
{
this.TypeName= string.Empty;
this.TypeId= string.Empty;
this.FromId= string.Empty;
this.ToId= string.Empty;
this.FromName= string.Empty;
this.ToName= string.Empty;
this.FromStatus= 0;
this.ToStatus= 0;
this.Href= string.Empty;
this.Title= string.Empty;
this.Content= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateId= string.Empty;
}
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
/// <summary>
/// 消息源头
/// </summary>
[Description("消息源头")]
public string FromId { get; set; }
/// <summary>
/// 到达
/// </summary>
[Description("到达")]
public string ToId { get; set; }
/// <summary>
/// 消息源头名称
/// </summary>
[Description("消息源头名称")]
public string FromName { get; set; }
/// <summary>
/// 消息到达名称
/// </summary>
[Description("消息到达名称")]
public string ToName { get; set; }
/// <summary>
/// -1:已删除0:默认
/// </summary>
[Description("-1:已删除0:默认")]
public int FromStatus { get; set; }
/// <summary>
/// -1:已删除0:默认未读1已读
/// </summary>
[Description("-1:已删除0:默认未读1已读")]
public int ToStatus { get; set; }
/// <summary>
/// 点击消息跳转的页面等
/// </summary>
[Description("点击消息跳转的页面等")]
public string Href { get; set; }
/// <summary>
/// 消息标题
/// </summary>
[Description("消息标题")]
public string Title { get; set; }
/// <summary>
/// 消息内容
/// </summary>
[Description("消息内容")]
public string Content { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
public string CreateId { get; set; }
}
}

View File

@@ -0,0 +1,97 @@
// <copyright file="UploadFile.cs" company="openauth.me">
// Copyright (c) 2019 openauth.me. All rights reserved.
// </copyright>
// <author>www.cnblogs.com/yubaolee</author>
// <date>2019-03-07</date>
// <summary>附加实体</summary>
using System;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 文件
/// </summary>
[Table("UploadFile")]
public partial class UploadFile : Entity
{
public UploadFile()
{
this.FileName= string.Empty;
this.FilePath= string.Empty;
this.Description= string.Empty;
this.FileType= string.Empty;
this.Extension= string.Empty;
this.SortCode= 0;
this.CreateUserName= string.Empty;
this.CreateTime= DateTime.Now;
this.Thumbnail= string.Empty;
this.BelongApp= string.Empty;
this.BelongAppId= string.Empty;
}
/// <summary>
/// 文件名称
/// </summary>
public string FileName { get; set; }
/// <summary>
/// 文件路径
/// </summary>
public string FilePath { get; set; }
/// <summary>
/// 描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 文件类型
/// </summary>
public string FileType { get; set; }
/// <summary>
/// 文件大小
/// </summary>
public long FileSize { get; set; }
/// <summary>
/// 扩展名称
/// </summary>
public string Extension { get; set; }
/// <summary>
/// 是否可用
/// </summary>
public bool Enable { get; set; }
/// <summary>
/// 排序
/// </summary>
public int SortCode { get; set; }
/// <summary>
/// 删除标识
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 上传人
/// </summary>
public System.Guid? CreateUserId { get; set; }
/// <summary>
/// 上传人姓名
/// </summary>
public string CreateUserName { get; set; }
/// <summary>
/// 上传时间
/// </summary>
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 缩略图
/// </summary>
public string Thumbnail { get; set; }
/// <summary>
/// 所属应用
/// </summary>
public string BelongApp { get; set; }
/// <summary>
/// 所属应用ID
/// </summary>
public string BelongAppId { get; set; }
}
}

View File

@@ -8,14 +8,16 @@
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 用户基本信息表
/// </summary>
[Table("User")]
public partial class User : Entity
{
public User()
@@ -27,7 +29,7 @@ namespace OpenAuth.Repository.Domain
this.Status= 0;
this.BizCode= string.Empty;
this.CreateTime= DateTime.Now;
this.CrateId= string.Empty;
this.CreateId= string.Empty;
this.TypeName= string.Empty;
this.TypeId= string.Empty;
}
@@ -35,42 +37,52 @@ namespace OpenAuth.Repository.Domain
/// <summary>
/// 用户登录帐号
/// </summary>
[Description("用户登录帐号")]
public string Account { get; set; }
/// <summary>
/// 密码
/// </summary>
[Description("密码")]
public string Password { get; set; }
/// <summary>
/// 用户姓名
/// </summary>
[Description("用户姓名")]
public string Name { get; set; }
/// <summary>
/// 性别
/// </summary>
[Description("性别")]
public int Sex { get; set; }
/// <summary>
/// 用户状态
/// </summary>
[Description("用户状态")]
public int Status { get; set; }
/// <summary>
/// 业务对照码
/// </summary>
[Description("业务对照码")]
public string BizCode { get; set; }
/// <summary>
/// 经办时间
/// </summary>
[Description("经办时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CrateId { get; set; }
[Description("创建人")]
public string CreateId { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
}

View File

@@ -0,0 +1,170 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 入库通知单明细
/// </summary>
[Table("WmsInboundOrderDtbl")]
public partial class WmsInboundOrderDtbl : Entity
{
public WmsInboundOrderDtbl()
{
this.AsnStatus= 0;
this.GoodsId= string.Empty;
this.GoodsBatch= string.Empty;
this.QualityFlg= string.Empty;
this.OrderNum= 0;
this.InNum= 0;
this.LeaveNum= 0;
this.HoldNum= 0;
this.ProdDate= string.Empty;
this.ExpireDate= string.Empty;
this.OwnerId= string.Empty;
this.Remark= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
}
/// <summary>
/// 订单ID
/// </summary>
[Description("订单ID")]
[Browsable(false)]
public string OrderId { get; set; }
/// <summary>
/// 含税单价
/// </summary>
[Description("含税单价")]
public decimal? Price { get; set; }
/// <summary>
/// 无税单价
/// </summary>
[Description("无税单价")]
public decimal? PriceNoTax { get; set; }
/// <summary>
/// 是否收货中(0:非收货中,1:收货中)
/// </summary>
[Description("是否收货中")]
public bool InStockStatus { get; set; }
/// <summary>
/// 到货状况(SYS_GOODSARRIVESTATUS)
/// </summary>
[Description("到货状况")]
public int AsnStatus { get; set; }
/// <summary>
/// 商品编号
/// </summary>
[Description("商品编号")]
[Browsable(false)]
public string GoodsId { get; set; }
/// <summary>
/// 商品批号
/// </summary>
[Description("商品批号")]
public string GoodsBatch { get; set; }
/// <summary>
/// 品质(SYS_QUALITYFLAG)
/// </summary>
[Description("品质")]
public string QualityFlg { get; set; }
/// <summary>
/// 通知数量
/// </summary>
[Description("通知数")]
public decimal OrderNum { get; set; }
/// <summary>
/// 到货数量
/// </summary>
[Description("到货数")]
public decimal InNum { get; set; }
/// <summary>
/// 剩余数量
/// </summary>
[Description("剩余数")]
public decimal LeaveNum { get; set; }
/// <summary>
/// 占用数量
/// </summary>
[Description("占用数")]
[Browsable(false)]
public decimal HoldNum { get; set; }
/// <summary>
/// 生产日期
/// </summary>
[Description("生产日期")]
public string ProdDate { get; set; }
/// <summary>
/// 失效日期
/// </summary>
[Description("失效日期")]
public string ExpireDate { get; set; }
/// <summary>
/// 税率
/// </summary>
[Description("税率")]
public decimal? TaxRate { get; set; }
/// <summary>
/// 货主编号
/// </summary>
[Description("货主编号")]
[Browsable(false)]
public string OwnerId { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
[Browsable(false)]
public string Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
}
}

View File

@@ -0,0 +1,173 @@
//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 入库通知单(入库订单)
/// </summary>
[Table("WmsInboundOrderTbl")]
public partial class WmsInboundOrderTbl : Entity
{
public WmsInboundOrderTbl()
{
this.ExternalNo= string.Empty;
this.ExternalType= string.Empty;
this.Status= 0;
this.OrderType= string.Empty;
this.GoodsType= string.Empty;
this.PurchaseNo= string.Empty;
this.StockId= string.Empty;
this.OwnerId= string.Empty;
this.ShipperId= string.Empty;
this.SupplierId= string.Empty;
this.ScheduledInboundTime= DateTime.Now;
this.Remark= string.Empty;
this.TransferType= string.Empty;
this.ReturnBoxNum= 0;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
}
/// <summary>
/// 相关单据号
/// </summary>
[Description("相关单据")]
public string ExternalNo { get; set; }
/// <summary>
/// 相关单据类型
/// </summary>
[Description("相关单据类型")]
[Browsable(false)]
public string ExternalType { get; set; }
/// <summary>
/// 状态
/// </summary>
[Description("状态")]
public int Status { get; set; }
/// <summary>
/// 入库类型
/// </summary>
[Description("入库类型")]
public string OrderType { get; set; }
/// <summary>
/// 商品类别
/// </summary>
[Description("商品类别")]
public string GoodsType { get; set; }
/// <summary>
/// 采购单号
/// </summary>
[Description("采购单号")]
public string PurchaseNo { get; set; }
/// <summary>
/// 仓库编号
/// </summary>
[Description("仓库编号")]
[Browsable(false)]
public string StockId { get; set; }
/// <summary>
/// 货主
/// </summary>
[Description("货主")]
[Browsable(false)]
public string OwnerId { get; set; }
/// <summary>
/// 承运人编号
/// </summary>
[Description("承运人")]
[Browsable(false)]
public string ShipperId { get; set; }
/// <summary>
/// 供应商编号
/// </summary>
[Description("供应商编号")]
[Browsable(false)]
public string SupplierId { get; set; }
/// <summary>
/// 预定入库时间
/// </summary>
[Description("预定时间")]
public System.DateTime? ScheduledInboundTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
[Browsable(false)]
public string Remark { get; set; }
/// <summary>
/// 有效标志
/// </summary>
[Description("有效标志")]
public bool Enable { get; set; }
/// <summary>
/// 承运方式
/// </summary>
[Description("承运方式")]
public string TransferType { get; set; }
/// <summary>
/// 是否入保税
/// </summary>
[Description("是否入保税库")]
public bool InBondedArea { get; set; }
/// <summary>
/// 销退箱数
/// </summary>
[Description("销退箱数")]
public decimal ReturnBoxNum { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Description("所属部门")]
public string OrgId { get; set; }
}
}