...
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Common.Dtos.Auth
|
|
||||||
{
|
|
||||||
public class AuthFromCompanySideDto
|
|
||||||
{
|
|
||||||
// username=wxper --- mobile=company
|
|
||||||
public string UserNameORMobile { get; set; }
|
|
||||||
public string PassWord { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
14
Common/Dtos/IdName.cs
Normal file
14
Common/Dtos/IdName.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Common.Dtos
|
||||||
|
{
|
||||||
|
public class IdName<T>
|
||||||
|
{
|
||||||
|
public T ID { get; set; }
|
||||||
|
public string Title { get; set; }
|
||||||
|
}
|
||||||
|
}
|
14
Common/Models/Auth/CompanySide/AuthRequestFromCompanySide.cs
Normal file
14
Common/Models/Auth/CompanySide/AuthRequestFromCompanySide.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Common.Models.Auth.CompanySide
|
||||||
|
{
|
||||||
|
class AuthRequestFromCompanySide
|
||||||
|
{
|
||||||
|
public string Username { get; set; }
|
||||||
|
public string Password { get; set; }
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Common.Models.Auth.CompanySide
|
||||||
|
{
|
||||||
|
class AuthRequestFromCompanySide
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@@ -4,9 +4,9 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Common.Dtos.Auth
|
namespace Common.Models.Auth.UserSide
|
||||||
{
|
{
|
||||||
public class AuthFromUserSideDto
|
class AuthRequestFromUserSide
|
||||||
{
|
{
|
||||||
public string? FullName { get; set; }
|
public string? FullName { get; set; }
|
||||||
public string Mobile { get; set; }
|
public string Mobile { get; set; }
|
12
Common/Models/Auth/UserSide/AuthResponseFromUserSide.cs
Normal file
12
Common/Models/Auth/UserSide/AuthResponseFromUserSide.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Common.Models.Auth.UserSide
|
||||||
|
{
|
||||||
|
class AuthRequestFromUserSide
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
22
Common/Models/Paging.cs
Normal file
22
Common/Models/Paging.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Common.Models
|
||||||
|
{
|
||||||
|
public class Paging<T>
|
||||||
|
{
|
||||||
|
public Paging(int RowCount, int pageCount, List<T> list)
|
||||||
|
{
|
||||||
|
this.RowCount = RowCount;
|
||||||
|
this.list = list;
|
||||||
|
PageCount = pageCount;
|
||||||
|
|
||||||
|
}
|
||||||
|
public int RowCount { get; set; }
|
||||||
|
public int PageCount { get; set; }
|
||||||
|
public List<T> list { get; set; }
|
||||||
|
}
|
||||||
|
}
|
12
Hushian.Application/Models/Message/Message.cs
Normal file
12
Hushian.Application/Models/Message/Message.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Hushian.Application.Models.Message
|
||||||
|
{
|
||||||
|
public class Message
|
||||||
|
{
|
||||||
|
public string To { get; set; }
|
||||||
|
public string msg { get; set; }
|
||||||
|
}
|
||||||
|
}
|
13
Hushian.Application/Models/Message/MessageSetting.cs
Normal file
13
Hushian.Application/Models/Message/MessageSetting.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Hushian.Application.Models.Message
|
||||||
|
{
|
||||||
|
public class MessageSetting
|
||||||
|
{
|
||||||
|
public string UserName { get; set; }
|
||||||
|
public string Password { get; set; }
|
||||||
|
public string From { get; set; }
|
||||||
|
}
|
||||||
|
}
|
14
Hushian.Application/Models/ResponseBase.cs
Normal file
14
Hushian.Application/Models/ResponseBase.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Hushian.Application.Models
|
||||||
|
{
|
||||||
|
public class ResponseBase<T>
|
||||||
|
{
|
||||||
|
public T? Value { get; set; }
|
||||||
|
public bool Success { get; set; }=false;
|
||||||
|
public List<string> Errors { get; set; }=new List<string>();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user