提交.Net6版本
This commit is contained in:
15
Yi.Framework.Net6/Yi.Framework.DTOModel/ChangePwdDto.cs
Normal file
15
Yi.Framework.Net6/Yi.Framework.DTOModel/ChangePwdDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
|
||||
namespace Yi.Framework.DTOModel
|
||||
{
|
||||
public class ChangePwdDto
|
||||
{
|
||||
public user user { get; set; }
|
||||
public string newPassword { get; set; }
|
||||
}
|
||||
}
|
||||
14
Yi.Framework.Net6/Yi.Framework.DTOModel/ChildrenDto.cs
Normal file
14
Yi.Framework.Net6/Yi.Framework.DTOModel/ChildrenDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.DTOModel
|
||||
{
|
||||
public class ChildrenDto<T>
|
||||
{
|
||||
public int parentId { get; set; }
|
||||
public T data { get; set; }
|
||||
}
|
||||
}
|
||||
23
Yi.Framework.Net6/Yi.Framework.DTOModel/IdsDto.cs
Normal file
23
Yi.Framework.Net6/Yi.Framework.DTOModel/IdsDto.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Yi.Framework.DTOModel
|
||||
{
|
||||
public class IdDto<T>
|
||||
{
|
||||
public T id1 { get; set; }
|
||||
public T id2 { get; set; }
|
||||
}
|
||||
|
||||
public class IdsDto<T>
|
||||
{
|
||||
public T id{ get; set; }
|
||||
public List<T> ids { get; set; }
|
||||
}
|
||||
|
||||
public class IdsListDto<T>
|
||||
{
|
||||
public List<T> ids1 { get; set; }
|
||||
public List<T> ids2 { get; set; }
|
||||
}
|
||||
}
|
||||
16
Yi.Framework.Net6/Yi.Framework.DTOModel/SettingDto.cs
Normal file
16
Yi.Framework.Net6/Yi.Framework.DTOModel/SettingDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.DTOModel
|
||||
{
|
||||
public class SettingDto
|
||||
{
|
||||
public string InitIcon { get; set; }
|
||||
public string InitRole { get; set; }
|
||||
public string Title { get; set; }
|
||||
public List<string> ImageList { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Yi.Framework.Model\Yi.Framework.Model.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user