ServiceCore下Model命名空间转换
This commit is contained in:
parent
cacb525b3a
commit
4199736bc7
@ -8,6 +8,7 @@ using ZR.Model.System;
|
||||
using ZR.Service.IService;
|
||||
using ZR.Service.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.Dto;
|
||||
using ZR.Model.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -3,8 +3,9 @@ using SqlSugar;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -6,9 +6,9 @@ using ZR.CodeGenerator;
|
||||
using ZR.CodeGenerator.Model;
|
||||
using ZR.CodeGenerator.Service;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Model.System.Generate;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
using ZR.ServiceCore.Model.Generate;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -3,9 +3,9 @@ using Microsoft.AspNetCore.Mvc;
|
||||
using MiniExcelLibs;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.Dto;
|
||||
using ZR.Model.Models;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -4,8 +4,9 @@ using SqlSugar;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -2,8 +2,9 @@
|
||||
using System.Collections;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -2,8 +2,9 @@
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
@ -65,14 +66,14 @@ namespace ZR.Admin.WebApi.Controllers.System
|
||||
/// <returns></returns>
|
||||
[AllowAnonymous]
|
||||
[HttpPost("types")]
|
||||
public IActionResult DictTypes([FromBody] List<SysdictDataDto> dto)
|
||||
public IActionResult DictTypes([FromBody] List<SysDictDataDto> dto)
|
||||
{
|
||||
var list = SysDictDataService.SelectDictDataByTypes(dto.Select(f => f.DictType).ToArray());
|
||||
List<SysdictDataDto> dataVos = new();
|
||||
List<SysDictDataDto> dataVos = new();
|
||||
|
||||
foreach (var dic in dto)
|
||||
{
|
||||
SysdictDataDto vo = new()
|
||||
SysDictDataDto vo = new()
|
||||
{
|
||||
DictType = dic.DictType,
|
||||
ColumnName = dic.ColumnName,
|
||||
|
||||
@ -3,8 +3,9 @@ using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
10
ZR.Admin.WebApi/Controllers/System/SysFieldController.cs
Normal file
10
ZR.Admin.WebApi/Controllers/System/SysFieldController.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System;
|
||||
|
||||
[Verify]
|
||||
[Route("system/field")]
|
||||
public class SysFieldController : BaseController
|
||||
{
|
||||
|
||||
}
|
||||
@ -2,8 +2,9 @@ using Microsoft.AspNetCore.Mvc;
|
||||
using SqlSugar;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
|
||||
@ -4,9 +4,10 @@ using Microsoft.Extensions.Options;
|
||||
using NETCore.Encrypt;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -4,8 +4,9 @@ using SqlSugar;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
using ZR.ServiceCore.Signalr;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
|
||||
@ -4,6 +4,7 @@ using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -3,8 +3,9 @@ using System.Net.Sockets;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -2,8 +2,9 @@
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -4,8 +4,9 @@ using SqlSugar;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -3,8 +3,9 @@ using Quartz;
|
||||
using SqlSugar;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
using ZR.Tasks;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
|
||||
@ -3,8 +3,9 @@ using SqlSugar;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
//创建时间:2023-08-17
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
|
||||
@ -5,6 +5,7 @@ using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.monitor
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.monitor
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
using ZR.ServiceCore.Signalr;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.monitor
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
using Quartz.Spi;
|
||||
using SqlSugar.IOC;
|
||||
using ZR.Model.System;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.Tasks;
|
||||
|
||||
namespace ZR.Admin.WebApi.Extensions
|
||||
|
||||
@ -8,3 +8,4 @@ global using Mapster;
|
||||
global using Infrastructure.Extensions;
|
||||
global using Infrastructure.Controllers;
|
||||
global using ZR.ServiceCore.Middleware;
|
||||
global using Microsoft.AspNetCore.Mvc;
|
||||
@ -1,3 +1,4 @@
|
||||
using System.Reflection;
|
||||
using AspNetCoreRateLimit;
|
||||
using Infrastructure.Converter;
|
||||
using Microsoft.AspNetCore.DataProtection;
|
||||
@ -165,4 +166,23 @@ using (var serviceScope = app.Services.CreateScope())
|
||||
await ipPolicyStore.SetAsync(optionsAccessor.Value.IpPolicyPrefix, pol);
|
||||
}
|
||||
|
||||
var serviceCoreModel = AppDomain.CurrentDomain
|
||||
.GetAssemblies()
|
||||
.First(it => it.FullName.Contains("ZR.ServiceCore"))
|
||||
.ExportedTypes
|
||||
.Where(p => p.FullName.StartsWith("ZR.ServiceCore.Model"))
|
||||
.ToList();
|
||||
// var geoEntityTypes = currentAssembly[0].ExportedTypes
|
||||
// .Where(p => p.FullName.StartsWith("ZR.ServiceCore.Model"))
|
||||
// .ToList();
|
||||
var model = AppDomain.CurrentDomain
|
||||
.GetAssemblies()
|
||||
.First(it => it.FullName.Contains("ZR.Model"))
|
||||
.ExportedTypes
|
||||
.ToList();
|
||||
foreach (var assembly in serviceCoreModel)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
app.Run();
|
||||
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ZR.Model.System.Generate;
|
||||
|
||||
namespace ZR.CodeGenerator
|
||||
{
|
||||
|
||||
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using ZR.CodeGenerator.Model;
|
||||
using ZR.Model.System.Generate;
|
||||
using ZR.ServiceCore.Model.Generate;
|
||||
|
||||
namespace ZR.CodeGenerator
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model.System.Generate;
|
||||
using ZR.ServiceCore.Model.Generate;
|
||||
|
||||
namespace ZR.CodeGenerator.Model
|
||||
{
|
||||
|
||||
@ -5,6 +5,7 @@ using ZR.Model.System;
|
||||
using ZR.Repository;
|
||||
using ZR.Service.IService;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.Service
|
||||
{
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using ZR.Model.System;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.Service.IService
|
||||
{
|
||||
|
||||
@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using ZR.Model.System;
|
||||
using ZR.Service.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.ServiceCore.Middleware
|
||||
{
|
||||
|
||||
@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using NLog;
|
||||
using ZR.Model.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
|
||||
namespace ZR.ServiceCore.Middleware
|
||||
{
|
||||
|
||||
@ -9,6 +9,7 @@ using System.Text.Encodings.Web;
|
||||
using ZR.Common;
|
||||
using ZR.Model.System;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using textJson = System.Text.Json;
|
||||
|
||||
namespace ZR.ServiceCore.Middleware
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
namespace ZR.Model.System
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章表
|
||||
|
||||
@ -1,9 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章目录
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace ZR.Model.Models
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 多语言配置,数据实体对象
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章目录输入对象
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class ArticleQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 多语言配置输入对象
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model.System.Generate;
|
||||
using ZR.ServiceCore.Model.Generate;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class GenTableDto
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class LockUserDto
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class LoginBodyDto
|
||||
{
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using MiniExcelLibs.Attributes;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class MenuDto
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class RegisterDto
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
using SqlSugar.DbConvert;
|
||||
using ZR.Model.System.Enums;
|
||||
using ZR.ServiceCore.Model.Enums;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class RoleMenuExportDto
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class RoleUserQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class ScanDto
|
||||
{
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using MiniExcelLibs.Attributes;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据差异日志查询对象
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 参数配置输入对象模型
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
namespace ZR.Model.System.Dto
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysDeptQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
@ -1,8 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysdictDataDto
|
||||
public class SysDictDataDto
|
||||
{
|
||||
public string DictType { get; set; }
|
||||
public string ColumnName { get; set; }
|
||||
@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysDictTypeDto
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 文件存储输入对象
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysLogininfoDto : SysBase
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 通知公告表输入对象
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysOperLogQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysRoleDto : SysBase
|
||||
{
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysRoleMenuDto
|
||||
{
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class SysUserDto
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class TasksQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace ZR.Model.System.Dto
|
||||
namespace ZR.ServiceCore.Model.Dto
|
||||
{
|
||||
public class TasksLogQueryDto
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace ZR.Model.System.Enums
|
||||
namespace ZR.ServiceCore.Model.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 菜单状态(0正常 1停用)
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
using SqlSugar;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZR.Model.System.Generate
|
||||
namespace ZR.ServiceCore.Model.Generate
|
||||
{
|
||||
/// <summary>
|
||||
/// 代码生成表
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace ZR.Model.System.Generate
|
||||
namespace ZR.ServiceCore.Model.Generate
|
||||
{
|
||||
/// <summary>
|
||||
/// 代码生成表字段
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
[SugarTable("SqlDiffLog", "数据差异日志")]
|
||||
[Tenant("0")]
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
//[EpplusTable(PrintHeaders = true, AutofitColumns = true, AutoCalculate = true, ShowTotal = true)]
|
||||
public class SysBase
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SqlSugar;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 参数配置,数据实体对象
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
namespace ZR.Model.System
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 部门表
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SqlSugar;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 字典数据表
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SqlSugar;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 字典类型表
|
||||
|
||||
14
ZR.ServiceCore/Model/SysField.cs
Normal file
14
ZR.ServiceCore/Model/SysField.cs
Normal file
@ -0,0 +1,14 @@
|
||||
namespace ZR.ServiceCore.Model;
|
||||
|
||||
[SugarTable("sys_field")]
|
||||
[Tenant("0")]
|
||||
public class SysField
|
||||
{
|
||||
[JsonConverter(typeof(ValueToStringConverter))]
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
public string FieldName { get; set; }
|
||||
|
||||
public string FullName { get; set; }
|
||||
}
|
||||
@ -1,8 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
[Tenant("0")]
|
||||
[SugarTable("sys_file", "文件存储表")]
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// sys_logininfor 表
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
using SqlSugar;
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Sys_menu表
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SqlSugar;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 通知公告表
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
[SugarTable("sys_oper_log", "操作日志表")]
|
||||
[Tenant("0")]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SqlSugar;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
[SugarTable("sys_post", "岗位表")]
|
||||
[Tenant("0")]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SqlSugar;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色表 sys_role
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
[SugarTable("sys_role_dept", "角色部门")]
|
||||
[Tenant(0)]
|
||||
|
||||
10
ZR.ServiceCore/Model/SysRoleField.cs
Normal file
10
ZR.ServiceCore/Model/SysRoleField.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace ZR.ServiceCore.Model;
|
||||
|
||||
[SugarTable("sys_role_field")]
|
||||
[Tenant("0")]
|
||||
public class SysRoleField
|
||||
{
|
||||
public long FieldId { get; set; }
|
||||
|
||||
public long RoleId { get; set; }
|
||||
}
|
||||
@ -1,7 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色菜单
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
///<summary>
|
||||
///计划任务
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务日志
|
||||
|
||||
@ -1,10 +1,7 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model.System;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户表
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户岗位
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户角色关联表 用户N-1 角色
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace ZR.Model.System
|
||||
namespace ZR.ServiceCore.Model
|
||||
{
|
||||
public class UserConstants
|
||||
{
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZR.Model.System.Vo
|
||||
namespace ZR.ServiceCore.Model.Vo
|
||||
{
|
||||
/// <summary>
|
||||
/// 路由展示
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace ZR.Model.System.Vo
|
||||
namespace ZR.ServiceCore.Model.Vo
|
||||
{
|
||||
/// <summary>
|
||||
/// Treeselect树结构实体类
|
||||
|
||||
@ -2,10 +2,11 @@
|
||||
using SqlSugar;
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model;
|
||||
using ZR.Model.Dto;
|
||||
using ZR.Model.System;
|
||||
using ZR.Repository;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Service.System
|
||||
{
|
||||
|
||||
@ -3,9 +3,10 @@ using SqlSugar;
|
||||
using System;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.Repository;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Service.System
|
||||
{
|
||||
|
||||
@ -3,10 +3,10 @@ using SqlSugar;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using ZR.Model;
|
||||
using ZR.Model.Dto;
|
||||
using ZR.Model.Models;
|
||||
using ZR.Repository;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Service.System
|
||||
{
|
||||
|
||||
@ -5,8 +5,8 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System.Generate;
|
||||
using ZR.Service.System.IService;
|
||||
using ZR.ServiceCore.Model.Generate;
|
||||
|
||||
namespace ZR.Service.System
|
||||
{
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model;
|
||||
using ZR.Model.Dto;
|
||||
using ZR.Model.System;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Service.System.IService
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Service.System.IService
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using ZR.Model;
|
||||
using ZR.Model.Dto;
|
||||
using ZR.Model.Models;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Model.Dto;
|
||||
|
||||
namespace ZR.Service.System.IService
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using SqlSugar;
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model;
|
||||
using ZR.Model.System.Generate;
|
||||
using ZR.ServiceCore.Model.Generate;
|
||||
|
||||
namespace ZR.Service.System.IService
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user