8 changed files with 283 additions and 27 deletions
-
34src/Shentun.WebPeis.Application.Contracts/Persons/PersonDto.cs
-
4src/Shentun.WebPeis.Application.Contracts/Persons/SmsVerifyCodeInputDto.cs
-
111src/Shentun.WebPeis.Application.Contracts/Persons/UpdatePersonDto.cs
-
76src/Shentun.WebPeis.Application/Persons/PersonAppService.cs
-
2src/Shentun.WebPeis.Application/WebPeisApplicationAutoMapperProfile.cs
-
12src/Shentun.WebPeis.Domain/AppointPatientRegisters/AppointPatientRegisterManager.cs
-
25src/Shentun.WebPeis.Domain/Persons/PersonManager.cs
-
14test/Shentun.WebPeis.Application.Tests/PersonAppServiceTest.cs
@ -0,0 +1,111 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Text; |
||||
|
|
||||
|
namespace Shentun.WebPeis.Persons |
||||
|
{ |
||||
|
public class UpdatePersonDto |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 人员ID
|
||||
|
/// </summary>
|
||||
|
public Guid PersonId { get; set; } |
||||
|
/// <summary>
|
||||
|
/// 姓名
|
||||
|
/// </summary>
|
||||
|
public string PersonName { get; set; } = null!; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 性别
|
||||
|
/// </summary>
|
||||
|
public char SexId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 婚姻状况
|
||||
|
/// </summary>
|
||||
|
public char MaritalStatusId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 出生日期
|
||||
|
/// </summary>
|
||||
|
public DateTime? BirthDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 民族编号
|
||||
|
/// </summary>
|
||||
|
public string? NationId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 出生地
|
||||
|
/// </summary>
|
||||
|
public Guid? BirthPlaceId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 身份证号
|
||||
|
/// </summary>
|
||||
|
public string? IdNo { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 邮政编码
|
||||
|
/// </summary>
|
||||
|
public string? PostalCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// email
|
||||
|
/// </summary>
|
||||
|
public string? Email { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 手机号
|
||||
|
/// </summary>
|
||||
|
public string? MobileTelephone { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 地址
|
||||
|
/// </summary>
|
||||
|
public string? Address { get; set; } |
||||
|
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 身份证件类别
|
||||
|
/// </summary>
|
||||
|
public string? IdTypeId { get; set; } |
||||
|
/// <summary>
|
||||
|
/// 国家码
|
||||
|
/// </summary>
|
||||
|
public string? CountryCode { get; set; } |
||||
|
/// <summary>
|
||||
|
/// 允许绑定
|
||||
|
/// </summary>
|
||||
|
public char? IsAllowBind { get; set; } |
||||
|
/// <summary>
|
||||
|
/// 身高
|
||||
|
/// </summary>
|
||||
|
public decimal? Height { get; set; } |
||||
|
/// <summary>
|
||||
|
/// 体重
|
||||
|
/// </summary>
|
||||
|
|
||||
|
public decimal? Weight { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 短信校验码
|
||||
|
/// </summary>
|
||||
|
public string SmsVerifyCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 短信校验码键
|
||||
|
/// </summary>
|
||||
|
public string SmsVerifyCodeKey { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 会话键
|
||||
|
/// </summary>
|
||||
|
public string SessionKey { get; set; } |
||||
|
/// <summary>
|
||||
|
/// 会话键值
|
||||
|
/// </summary>
|
||||
|
public string SessionKeyValue { get; set; } |
||||
|
|
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue