Browse Source

新增添加律师的model及map配置

develop-lawyerExampaper
胡超1 2 years ago
parent
commit
4c70aef494
  1. 2
      Elight.Entity/AuthManageProfile.cs
  2. 28
      Elight.Entity/SystemDto/App_Sys_AddLawyerInput.cs

2
Elight.Entity/AuthManageProfile.cs

@ -21,6 +21,8 @@ namespace Elight.Entity
CreateMap<App_LawyerServicesModel, QRLawyerServiceDto>().ReverseMap();
CreateMap<App_Sys_UserModel, QRUserDto>().ReverseMap();
CreateMap<App_Sys_AddLawyerInput, App_Sys_UserModel>();
CreateMap<App_CloudCabinetModel, App_CloudCabinetDto>();

28
Elight.Entity/SystemDto/App_Sys_AddLawyerInput.cs

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Elight.Entity
{
public class App_Sys_AddLawyerInput
{
/// <summary>
/// 身份证号码
/// </summary>
[DataMember]
public string? cardId { get; set; }
/// <summary>
/// 电话号码
/// </summary>
[DataMember]
public string? phone { get; set; }
/// <summary>
/// 名称
/// </summary>
[DataMember]
public string? name { get; set; }
}
}
Loading…
Cancel
Save