verifaction
This commit is contained in:
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
namespace Common.Dtos.Exper
|
||||
{
|
||||
public class ADD_ExperDto
|
||||
{
|
||||
{ //From CompanyManager
|
||||
public string FullName { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
|
15
Common/Dtos/Exper/ChangeAvailable_ExperDto.cs
Normal file
15
Common/Dtos/Exper/ChangeAvailable_ExperDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Exper
|
||||
{
|
||||
public class ChangeAvailable_ExperDto
|
||||
{
|
||||
//From CompanyManager
|
||||
public int ID { get; set; }
|
||||
public bool Available { get; set; }
|
||||
}
|
||||
}
|
16
Common/Dtos/Exper/ChangePassword_ExperDto.cs
Normal file
16
Common/Dtos/Exper/ChangePassword_ExperDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Exper
|
||||
{
|
||||
public class ChangePassword_ExperDto
|
||||
{
|
||||
//From User And CompanyManager
|
||||
public int ID { get; set; }
|
||||
public string? OldPassWord { get; set; }
|
||||
public string NewPassWord { get; set; }
|
||||
}
|
||||
}
|
17
Common/Dtos/Exper/Read_ExperDto.cs
Normal file
17
Common/Dtos/Exper/Read_ExperDto.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Exper
|
||||
{
|
||||
public class Read_ExperDto
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string FullName { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public bool Available { get; set; }
|
||||
}
|
||||
}
|
@@ -8,6 +8,7 @@ namespace Common.Dtos.Exper
|
||||
{
|
||||
public class Update_ExperDto
|
||||
{
|
||||
//From User and CompanyManager
|
||||
public int ID { get; set; }
|
||||
// For Update
|
||||
public string FullName { get; set; }
|
||||
|
15
Common/Dtos/Group/ChangeAvailable_GroupDto.cs
Normal file
15
Common/Dtos/Group/ChangeAvailable_GroupDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Exper
|
||||
{
|
||||
public class ChangeAvailable_GroupDto
|
||||
{
|
||||
//From CompanyManager
|
||||
public int ID { get; set; }
|
||||
public bool Available { get; set; }
|
||||
}
|
||||
}
|
17
Common/Dtos/Group/Update_GroupDto.cs
Normal file
17
Common/Dtos/Group/Update_GroupDto.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Group
|
||||
{
|
||||
public class Update_GroupDto
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Name { get; set; }
|
||||
public byte[]? img { get; set; }
|
||||
public string? Info { get; set; }
|
||||
|
||||
}
|
||||
}
|
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos
|
||||
{
|
||||
public class Read_UserDto
|
||||
{
|
||||
// CompanyUser OR Exper OR User
|
||||
public int ID { get; set; }
|
||||
public string? FullName { get; set; }
|
||||
public string? UserName { get; set; }
|
||||
public string? Mobile { get; set; }
|
||||
}
|
||||
}
|
15
Common/Enums/VerificationCodeType.cs
Normal file
15
Common/Enums/VerificationCodeType.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Enums
|
||||
{
|
||||
public enum VerificationCodeType
|
||||
{
|
||||
PhoneNumberConfirmed,
|
||||
ForgetPassword,
|
||||
Login
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user