添加项目文件。
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 创 建:超级管理员
|
||||
/// 日 期:2020-06-01 09:44
|
||||
/// 描 述:数据权限实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_dataprivilegerule")]
|
||||
public class DataPrivilegeRuleEntity : IEntity<DataPrivilegeRuleEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模块Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "模块不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ModuleId", ColumnDataType = "nvarchar(50)", ColumnDescription = "模块Id", UniqueGroupNameList = new string[] { "sys_dataprivilegerule" })]
|
||||
public string F_ModuleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模块编号
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ModuleCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "模块编号")]
|
||||
public string F_ModuleCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 权限规则
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_PrivilegeRules", ColumnDataType = "longtext", ColumnDescription = "权限规则")]
|
||||
public string F_PrivilegeRules { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "排序不能为空")]
|
||||
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "排序")]
|
||||
public int? F_SortCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
|
||||
public bool? F_DeleteMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效标记
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
|
||||
public bool? F_EnabledMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
|
||||
public string F_Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
||||
public DateTime? F_LastModifyTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
|
||||
public string F_LastModifyUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
||||
public DateTime? F_DeleteTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除人Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
|
||||
public string F_DeleteUserId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 创 建:超级管理员
|
||||
/// 日 期:2023-12-25 08:54
|
||||
/// 描 述:组织实体扩展类
|
||||
/// </summary>
|
||||
[SugarTable("sys_organize")]
|
||||
public class OrganizeExtend : OrganizeEntity
|
||||
{
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
//使用导入错误信息
|
||||
public string ErrorMsg { get; set; }
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_ManagerName { get; set; }
|
||||
}
|
||||
}
|
||||
27
WaterCloud.Domain/Entity/SystemOrganize/Extend/RoleExtend.cs
Normal file
27
WaterCloud.Domain/Entity/SystemOrganize/Extend/RoleExtend.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 创 建:超级管理员
|
||||
/// 日 期:2020-08-06 08:54
|
||||
/// 描 述:角色类别实体扩展类
|
||||
/// </summary>
|
||||
[SugarTable("sys_role")]
|
||||
public class RoleExtend : RoleEntity
|
||||
{
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
//使用导入错误信息
|
||||
public string ErrorMsg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_Remark { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_CompanyName { get; set; }
|
||||
}
|
||||
}
|
||||
33
WaterCloud.Domain/Entity/SystemOrganize/Extend/UserExtend.cs
Normal file
33
WaterCloud.Domain/Entity/SystemOrganize/Extend/UserExtend.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 创 建:超级管理员
|
||||
/// 日 期:2020-08-06 08:54
|
||||
/// 描 述:用户实体扩展类
|
||||
/// </summary>
|
||||
[SugarTable("sys_user")]
|
||||
public class UserExtend : UserEntity
|
||||
{
|
||||
//使用导入错误信息
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ErrorMsg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_Remark { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_DutyName { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_CompanyName { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_ManagerName { get; set; }
|
||||
}
|
||||
}
|
||||
102
WaterCloud.Domain/Entity/SystemOrganize/NoticeEntity.cs
Normal file
102
WaterCloud.Domain/Entity/SystemOrganize/NoticeEntity.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file=" Notice.cs" company="WaterCloud">
|
||||
// * Copyright (C) WaterCloud.Framework All Rights Reserved
|
||||
// * version : 1.0
|
||||
// * author : WaterCloud.Framework
|
||||
// * FileName: Notice.cs
|
||||
// * history : Created by T4 04/13/2020 16:51:21
|
||||
// </copyright>
|
||||
//-----------------------------------------------------------------------
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// Notice Entity Model
|
||||
/// </summary>
|
||||
[SugarTable("sys_notice")]
|
||||
public class NoticeEntity : IEntity<NoticeEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标题
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "标题不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Title", ColumnDataType = "nvarchar(50)", ColumnDescription = "标题", UniqueGroupNameList = new string[] { "sys_notice" })]
|
||||
public string F_Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "内容不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Content", ColumnDataType = "longtext", ColumnDescription = "内容")]
|
||||
public string F_Content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
|
||||
public Boolean? F_DeleteMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
|
||||
public Boolean? F_EnabledMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "删除人Id")]
|
||||
public string F_Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人姓名
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人姓名")]
|
||||
public string F_CreatorUserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
||||
public DateTime? F_LastModifyTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
|
||||
public string F_LastModifyUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
||||
public DateTime? F_DeleteTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
|
||||
public string F_DeleteUserId { get; set; }
|
||||
}
|
||||
}
|
||||
191
WaterCloud.Domain/Entity/SystemOrganize/OrganizeEntity.cs
Normal file
191
WaterCloud.Domain/Entity/SystemOrganize/OrganizeEntity.cs
Normal file
@@ -0,0 +1,191 @@
|
||||
/*******************************************************************************
|
||||
* Copyright © 2020 WaterCloud.Framework 版权所有
|
||||
* Author: WaterCloud
|
||||
* Description: WaterCloud快速开发平台
|
||||
* Website:
|
||||
*********************************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 机构实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_organize")]
|
||||
public class OrganizeEntity : IEntity<OrganizeEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 父级Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "父级不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级Id")]
|
||||
public string F_ParentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层级
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Layers", ColumnDescription = "层级")]
|
||||
public int? F_Layers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "编号不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_organize" })]
|
||||
public string F_EnCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 全名称
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "名称不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "全名称")]
|
||||
public string F_FullName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 简称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ShortName", ColumnDataType = "nvarchar(50)", ColumnDescription = "简称")]
|
||||
public string F_ShortName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "类型不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CategoryId", ColumnDataType = "nvarchar(50)", ColumnDescription = "类型")]
|
||||
public string F_CategoryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门负责人
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ManagerId", ColumnDataType = "nvarchar(50)")]
|
||||
public string F_ManagerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 电话
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_TelePhone", ColumnDataType = "nvarchar(20)", ColumnDescription = "电话")]
|
||||
public string F_TelePhone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_MobilePhone", ColumnDataType = "nvarchar(20)", ColumnDescription = "手机")]
|
||||
public string F_MobilePhone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_WeChat", ColumnDataType = "nvarchar(50)", ColumnDescription = "微信号")]
|
||||
public string F_WeChat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 传真号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Fax", ColumnDataType = "nvarchar(20)", ColumnDescription = "传真号")]
|
||||
public string F_Fax { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Email", ColumnDataType = "nvarchar(50)", ColumnDescription = "邮箱")]
|
||||
public string F_Email { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 区域Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_AreaId", ColumnDataType = "nvarchar(50)", ColumnDescription = "区域Id")]
|
||||
public string F_AreaId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地址
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Address", ColumnDataType = "longtext", ColumnDescription = "地址")]
|
||||
public string F_Address { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 允许修改
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "允许修改")]
|
||||
public bool? F_AllowEdit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 允许删除
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "允许删除")]
|
||||
public bool? F_AllowDelete { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序码
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "排序不能为空")]
|
||||
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
|
||||
public int? F_SortCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
|
||||
public bool? F_DeleteMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
|
||||
public bool? F_EnabledMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
|
||||
public string F_Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
||||
public DateTime? F_LastModifyTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
|
||||
public string F_LastModifyUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
||||
public DateTime? F_DeleteTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
|
||||
public string F_DeleteUserId { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool LAY_CHECKED { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
/*******************************************************************************
|
||||
* Copyright © 2020 WaterCloud.Framework 版权所有
|
||||
* Author: WaterCloud
|
||||
* Description: WaterCloud快速开发平台
|
||||
* Website:
|
||||
*********************************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色权限实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_roleauthorize")]
|
||||
public class RoleAuthorizeEntity : IEntity<RoleAuthorizeEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目类型(1菜单,2按钮,3字段)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "项目类型")]
|
||||
public int? F_ItemType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// /项目Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ItemId", ColumnDataType = "nvarchar(50)", ColumnDescription = "项目Id")]
|
||||
public string F_ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标类型(1角色,2租户)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "目标类型")]
|
||||
public int? F_ObjectType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ObjectId", ColumnDataType = "nvarchar(50)", ColumnDescription = "目标Id")]
|
||||
public string F_ObjectId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序码
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
|
||||
public int? F_SortCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
}
|
||||
}
|
||||
140
WaterCloud.Domain/Entity/SystemOrganize/RoleEntity.cs
Normal file
140
WaterCloud.Domain/Entity/SystemOrganize/RoleEntity.cs
Normal file
@@ -0,0 +1,140 @@
|
||||
/*******************************************************************************
|
||||
* Copyright © 2020 WaterCloud.Framework 版权所有
|
||||
* Author: WaterCloud
|
||||
* Description: WaterCloud快速开发平台
|
||||
* Website:
|
||||
*********************************************************************************/
|
||||
|
||||
using MiniExcelLibs.Attributes;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_role")]
|
||||
public class RoleEntity : IEntity<RoleEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公司Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "公司不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CompanyId", ColumnDataType = "nvarchar(50)", ColumnDescription = "公司Id")]
|
||||
public string F_CompanyId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "类型")]
|
||||
public int? F_Category { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "编号不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_role" })]
|
||||
[ExcelColumnName("岗位编号")]
|
||||
public string F_EnCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "名称不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
|
||||
[ExcelColumnName("岗位名称")]
|
||||
public string F_FullName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Type", ColumnDataType = "nvarchar(50)", ColumnDescription = "类型")]
|
||||
public string F_Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 允许修改
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "允许修改")]
|
||||
public bool? F_AllowEdit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 允许删除
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "允许删除")]
|
||||
public bool? F_AllowDelete { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序码
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "排序不能为空")]
|
||||
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
|
||||
public int? F_SortCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
|
||||
public bool? F_DeleteMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
|
||||
public bool? F_EnabledMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
|
||||
[ExcelColumnName("备注")]
|
||||
public string F_Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
||||
public DateTime? F_LastModifyTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
|
||||
public string F_LastModifyUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
||||
public DateTime? F_DeleteTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
|
||||
public string F_DeleteUserId { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool LAY_CHECKED { get; set; }
|
||||
}
|
||||
}
|
||||
184
WaterCloud.Domain/Entity/SystemOrganize/SystemSetEntity.cs
Normal file
184
WaterCloud.Domain/Entity/SystemOrganize/SystemSetEntity.cs
Normal file
@@ -0,0 +1,184 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 创 建:超级管理员
|
||||
/// 日 期:2020-06-12 13:50
|
||||
/// 描 述:系统设置实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_systemset")]
|
||||
public class SystemSetEntity : IEntity<SystemSetEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Logo图标
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "Logo图标不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Logo", ColumnDataType = "nvarchar(50)", ColumnDescription = "Logo图标")]
|
||||
public string F_Logo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Logo编号
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "Logo编号不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LogoCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "Logo编号")]
|
||||
public string F_LogoCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目名称
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "项目名称不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ProjectName", ColumnDataType = "nvarchar(50)", ColumnDescription = "项目名称")]
|
||||
public string F_ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公司名称
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "公司名称不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CompanyName", ColumnDataType = "nvarchar(50)", ColumnDescription = "公司名称")]
|
||||
public string F_CompanyName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统账号
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "系统账户不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_AdminAccount", ColumnDataType = "nvarchar(50)", ColumnDescription = "系统账号")]
|
||||
public string F_AdminAccount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统密码
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "系统密码不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_AdminPassword", ColumnDataType = "nvarchar(50)", ColumnDescription = "系统密码")]
|
||||
public string F_AdminPassword { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
|
||||
public bool? F_DeleteMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效标记
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
|
||||
public bool? F_EnabledMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
|
||||
public string F_Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
||||
public DateTime? F_LastModifyTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
|
||||
public string F_LastModifyUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
||||
public DateTime? F_DeleteTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除人Id
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "longtext", ColumnDescription = "删除人Id")]
|
||||
public string F_DeleteUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 联系电话
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "联系电话不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_MobilePhone", ColumnDataType = "nvarchar(20)", ColumnDescription = "联系电话")]
|
||||
public string F_MobilePhone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 联系人
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "联系人不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_PrincipalMan", ColumnDataType = "nvarchar(50)", ColumnDescription = "联系人")]
|
||||
public string F_PrincipalMan { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 到期时间
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessage = "到期时间不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "到期时间")]
|
||||
public DateTime? F_EndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库连接串
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DbString", ColumnDataType = "longtext", ColumnDescription = "数据库连接串")]
|
||||
public string F_DbString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DBProvider", ColumnDataType = "nvarchar(50)")]
|
||||
public string F_DBProvider { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 域名
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "域名不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_HostUrl", ColumnDataType = "longtext", ColumnDescription = "域名")]
|
||||
public string F_HostUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DbNumber", ColumnDataType = "nvarchar(50)", ColumnDescription = "数据库序号", UniqueGroupNameList = new string[] { "sys_systemset" })]
|
||||
public string F_DbNumber { get; set; }
|
||||
}
|
||||
}
|
||||
262
WaterCloud.Domain/Entity/SystemOrganize/UserEntity.cs
Normal file
262
WaterCloud.Domain/Entity/SystemOrganize/UserEntity.cs
Normal file
@@ -0,0 +1,262 @@
|
||||
/*******************************************************************************
|
||||
* Copyright © 2020 WaterCloud.Framework 版权所有
|
||||
* Author: WaterCloud
|
||||
* Description: WaterCloud快速开发平台
|
||||
* Website:
|
||||
*********************************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_user")]
|
||||
public class UserEntity : IEntity<UserEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账户
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "账户不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Account", ColumnDataType = "nvarchar(50)", ColumnDescription = "账户", UniqueGroupNameList = new string[] { "sys_user" })]
|
||||
public string F_Account { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 姓名
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "姓名不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_RealName", ColumnDataType = "nvarchar(50)", ColumnDescription = "姓名")]
|
||||
public string F_RealName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_NickName", ColumnDataType = "nvarchar(50)", ColumnDescription = "昵称")]
|
||||
public string F_NickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 头像
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_HeadIcon", ColumnDataType = "nvarchar(50)", ColumnDescription = "头像")]
|
||||
public string F_HeadIcon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "性别不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "性别")]
|
||||
public bool? F_Gender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生日
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "生日")]
|
||||
public DateTime? F_Birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_MobilePhone", ColumnDataType = "nvarchar(20)", ColumnDescription = "手机")]
|
||||
public string F_MobilePhone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Email", ColumnDataType = "nvarchar(50)", ColumnDescription = "邮箱")]
|
||||
public string F_Email { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_WeChat", ColumnDataType = "nvarchar(50)", ColumnDescription = "微信号")]
|
||||
public string F_WeChat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 管理Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_ManagerId", ColumnDataType = "nvarchar(50)", ColumnDescription = "管理Id")]
|
||||
public string F_ManagerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 安全级别
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "安全级别")]
|
||||
public int? F_SecurityLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 个性签名
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Signature", ColumnDataType = "longtext", ColumnDescription = "个性签名")]
|
||||
public string F_Signature { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公司Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "公司不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CompanyId", ColumnDataType = "nvarchar(50)", ColumnDescription = "公司Id")]
|
||||
public string F_CompanyId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "部门不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_OrganizeId", ColumnDataType = "longtext", ColumnDescription = "部门Id")]
|
||||
public string F_OrganizeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "角色不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_RoleId", ColumnDataType = "longtext", ColumnDescription = "角色Id")]
|
||||
public string F_RoleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 岗位Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "职位不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DutyId", ColumnDataType = "longtext", ColumnDescription = "岗位Id")]
|
||||
public string F_DutyId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否管理员
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否管理员")]
|
||||
public bool? F_IsAdmin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否老板
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否老板")]
|
||||
public bool? F_IsBoss { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否高管
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否高管")]
|
||||
public bool? F_IsSenior { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否部门领导
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否部门领导")]
|
||||
public bool? F_IsLeaderInDepts { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序码
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
|
||||
public int? F_SortCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
|
||||
public bool? F_DeleteMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效标记
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
|
||||
public bool? F_EnabledMark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
|
||||
public string F_Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
||||
public DateTime? F_CreatorTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
|
||||
public string F_CreatorUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
||||
public DateTime? F_LastModifyTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
|
||||
public string F_LastModifyUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
|
||||
public DateTime? F_DeleteTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除人Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
|
||||
public string F_DeleteUserId { get; set; }
|
||||
|
||||
// 拓展字段,2019-03-03
|
||||
/// <summary>
|
||||
/// 钉钉用户Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DingTalkUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "钉钉用户Id")]
|
||||
public string F_DingTalkUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 钉钉用户名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DingTalkUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "钉钉用户名称")]
|
||||
public string F_DingTalkUserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 钉钉头像
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_DingTalkAvatar", ColumnDataType = "nvarchar(100)", ColumnDescription = "钉钉头像")]
|
||||
public string F_DingTalkAvatar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信开放Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_WxOpenId", ColumnDataType = "nvarchar(50)", ColumnDescription = "微信开放Id")]
|
||||
public string F_WxOpenId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_WxNickName", ColumnDataType = "nvarchar(50)", ColumnDescription = "微信昵称")]
|
||||
public string F_WxNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信头像
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_HeadImgUrl", ColumnDataType = "nvarchar(100)", ColumnDescription = "微信头像")]
|
||||
public string F_HeadImgUrl { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_OrganizeName { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string F_RoleName { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool LAY_CHECKED { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int MsgCout { get; set; }
|
||||
}
|
||||
}
|
||||
150
WaterCloud.Domain/Entity/SystemOrganize/UserLogOnEntity.cs
Normal file
150
WaterCloud.Domain/Entity/SystemOrganize/UserLogOnEntity.cs
Normal file
@@ -0,0 +1,150 @@
|
||||
/*******************************************************************************
|
||||
* Copyright © 2020 WaterCloud.Framework 版权所有
|
||||
* Author: WaterCloud
|
||||
* Description: WaterCloud快速开发平台
|
||||
* Website:
|
||||
*********************************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WaterCloud.Domain.SystemOrganize
|
||||
{
|
||||
[SugarTable("sys_userlogon")]
|
||||
public class UserLogOnEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
public string F_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_UserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "用户Id", UniqueGroupNameList = new string[] { "sys_userlogon" })]
|
||||
public string F_UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户密码
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "密码不能为空")]
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_UserPassword", ColumnDataType = "nvarchar(50)", ColumnDescription = "用户密码")]
|
||||
public string F_UserPassword { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户密钥
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_UserSecretkey", ColumnDataType = "nvarchar(50)", ColumnDescription = "用户密钥")]
|
||||
public string F_UserSecretkey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 登录开始时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "登录开始时间")]
|
||||
public DateTime? F_AllowStartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 登录结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "登录结束时间")]
|
||||
public DateTime? F_AllowEndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 锁定开始时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "锁定开始时间")]
|
||||
public DateTime? F_LockStartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 锁定结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "锁定结束时间")]
|
||||
public DateTime? F_LockEndDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第一次访问时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "第一次访问时间")]
|
||||
public DateTime? F_FirstVisitTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上一次访问时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "上一次访问时间")]
|
||||
public DateTime? F_PreviousVisitTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后访问时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "最后访问时间")]
|
||||
public DateTime? F_LastVisitTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改密码时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "修改密码时间")]
|
||||
public DateTime? F_ChangePasswordDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否允许多用户登录
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否允许多用户登录")]
|
||||
public bool? F_MultiUserLogin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 登录次数
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "登录次数")]
|
||||
public int? F_LogOnCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否在线
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否在线")]
|
||||
public bool? F_UserOnLine { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密保问题
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Question", ColumnDataType = "nvarchar(50)", ColumnDescription = "密保问题")]
|
||||
public string F_Question { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密保答案
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_AnswerQuestion", ColumnDataType = "longtext", ColumnDescription = "密保答案")]
|
||||
public string F_AnswerQuestion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否校验登录IP
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "是否校验登录IP")]
|
||||
public bool? F_CheckIPAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统语言
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Language", ColumnDataType = "nvarchar(50)", ColumnDescription = "系统语言")]
|
||||
public string F_Language { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统主题
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_Theme", ColumnDataType = "nvarchar(50)", ColumnDescription = "系统主题")]
|
||||
public string F_Theme { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 登录session
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnName = "F_LoginSession", ColumnDataType = "nvarchar(100)", ColumnDescription = "登录session")]
|
||||
public string F_LoginSession { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误码
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "错误码")]
|
||||
public Int32 F_ErrorNum { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user