From 31d2c3c98e476e852adbb46dce828b19f9c4e4c5 Mon Sep 17 00:00:00 2001 From: chenchun Date: Sun, 24 Apr 2022 16:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Yi.Framework.Model/Models/LogEntity.cs | 23 ---------- .../Yi.Framework.Model/Models/RoleEntity.cs | 24 ---------- .../Yi.Framework.Model/Models/UserEntity.cs | 44 ------------------- .../Models/UserRoleEntity.cs | 29 ------------ 4 files changed, 120 deletions(-) delete mode 100644 Yi.Framework.Net6/Yi.Framework.Model/Models/LogEntity.cs delete mode 100644 Yi.Framework.Net6/Yi.Framework.Model/Models/RoleEntity.cs delete mode 100644 Yi.Framework.Net6/Yi.Framework.Model/Models/UserEntity.cs delete mode 100644 Yi.Framework.Net6/Yi.Framework.Model/Models/UserRoleEntity.cs diff --git a/Yi.Framework.Net6/Yi.Framework.Model/Models/LogEntity.cs b/Yi.Framework.Net6/Yi.Framework.Model/Models/LogEntity.cs deleted file mode 100644 index 7975b7ef..00000000 --- a/Yi.Framework.Net6/Yi.Framework.Model/Models/LogEntity.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using SqlSugar; -namespace Yi.Framework.Model.Models -{ - /// - /// 日志表 - /// - public partial class LogEntity:BaseModelEntity - { - /// - /// 租户Id - /// - [SugarColumn(ColumnName="TenantId" )] - public long? TenantId { get; set; } - /// - /// 日志信息 - /// - [SugarColumn(ColumnName="Message" )] - public string Message { get; set; } - } -} diff --git a/Yi.Framework.Net6/Yi.Framework.Model/Models/RoleEntity.cs b/Yi.Framework.Net6/Yi.Framework.Model/Models/RoleEntity.cs deleted file mode 100644 index aac22b81..00000000 --- a/Yi.Framework.Net6/Yi.Framework.Model/Models/RoleEntity.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using SqlSugar; -namespace Yi.Framework.Model.Models -{ - /// - /// - /// - [SugarTable("Role")] - public partial class RoleEntity:BaseModelEntity - { - /// - /// - /// - [SugarColumn(ColumnName="RoleName" )] - public string RoleName { get; set; } - /// - /// 租户Id - /// - [SugarColumn(ColumnName="TenantId" )] - public long? TenantId { get; set; } - } -} diff --git a/Yi.Framework.Net6/Yi.Framework.Model/Models/UserEntity.cs b/Yi.Framework.Net6/Yi.Framework.Model/Models/UserEntity.cs deleted file mode 100644 index 35b9b147..00000000 --- a/Yi.Framework.Net6/Yi.Framework.Model/Models/UserEntity.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using SqlSugar; -namespace Yi.Framework.Model.Models -{ - /// - /// - /// - [SugarTable("User")] - public partial class UserEntity:BaseModelEntity - { - /// - /// - /// - [SugarColumn(ColumnName="Name" )] - public string Name { get; set; } - /// - /// - /// - [SugarColumn(ColumnName="Age" )] - public int? Age { get; set; } - /// - /// - /// - [SugarColumn(ColumnName="TenantId" )] - public long? TenantId { get; set; } - /// - /// - /// - [SugarColumn(ColumnName="UserName" )] - public string UserName { get; set; } - /// - /// - /// - [SugarColumn(ColumnName="Password" )] - public string Password { get; set; } - /// - /// - /// - [SugarColumn(ColumnName="Salt" )] - public string Salt { get; set; } - } -} diff --git a/Yi.Framework.Net6/Yi.Framework.Model/Models/UserRoleEntity.cs b/Yi.Framework.Net6/Yi.Framework.Model/Models/UserRoleEntity.cs deleted file mode 100644 index 00386154..00000000 --- a/Yi.Framework.Net6/Yi.Framework.Model/Models/UserRoleEntity.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using SqlSugar; -namespace Yi.Framework.Model.Models -{ - /// - /// - /// - [SugarTable("UserRole")] - public partial class UserRoleEntity:BaseModelEntity - { - /// - /// - /// - [SugarColumn(ColumnName="RoleId" )] - public long? RoleId { get; set; } - /// - /// - /// - [SugarColumn(ColumnName="UserId" )] - public long? UserId { get; set; } - /// - /// 租户Id - /// - [SugarColumn(ColumnName="TenantId" )] - public long? TenantId { get; set; } - } -}