8 changed files with 392 additions and 7 deletions
-
94src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterDto.cs
-
11src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterIdInputDto.cs
-
13src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/IdNoOrMobilePhoneInputDto.cs
-
11src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/MobilePhoneInputDto.cs
-
45src/Shentun.WebPeis.Application.Contracts/AppointRegisterAsbitems/AppointRegisterAsbitemDto.cs
-
2src/Shentun.WebPeis.Application.Contracts/Asbitems/DiseaseScreeningTypeAsbitemDto.cs
-
181src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs
-
42test/Shentun.WebPeis.Application.Tests/AppointPatientRegisterAppServiceTest.cs
@ -1,37 +1,121 @@ |
|||
using System; |
|||
using Shentun.WebPeis.AppointRegisterAsbitems; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.AppointPatientRegisters |
|||
{ |
|||
/// <summary>
|
|||
/// 预约信息
|
|||
/// </summary>
|
|||
public class AppointPatientRegisterDto |
|||
{ |
|||
/// <summary>
|
|||
/// 预约登记ID
|
|||
/// </summary>
|
|||
public Guid AppointPatientRegisterId { get; set; } |
|||
/// <summary>
|
|||
/// 人员ID
|
|||
/// </summary>
|
|||
|
|||
public Guid PersonId { get; set; } |
|||
/// <summary>
|
|||
/// 姓名
|
|||
/// </summary>
|
|||
|
|||
public string PersonName { get; set; } |
|||
/// <summary>
|
|||
/// 身份证号
|
|||
/// </summary>
|
|||
public string? IdNo { get; set; } |
|||
/// <summary>
|
|||
/// 性别ID
|
|||
/// </summary>
|
|||
public char SexId { get; set; } |
|||
/// <summary>
|
|||
/// 性别名称
|
|||
/// </summary>
|
|||
public string SexName { get; set; } |
|||
/// <summary>
|
|||
/// 婚姻状况ID
|
|||
/// </summary>
|
|||
public char MaritalStatusId { get; set; } |
|||
/// <summary>
|
|||
/// 婚姻状况名称
|
|||
/// </summary>
|
|||
public string MaritalStatusName { get; set; } |
|||
/// <summary>
|
|||
/// 单位ID
|
|||
/// </summary>
|
|||
|
|||
public Guid CustomerOrgId { get; set; } |
|||
/// <summary>
|
|||
/// 单位名称
|
|||
/// </summary>
|
|||
public string CustomerOrgName { get; set; } |
|||
public string ChildCustomerOrgName { get; set; } |
|||
/// <summary>
|
|||
/// 单位分组ID
|
|||
/// </summary>
|
|||
|
|||
public Guid? CustomerOrgGroupId { get; set; } |
|||
/// <summary>
|
|||
/// 单位分组名称
|
|||
/// </summary>
|
|||
public string CustomerOrgGroupName { get; set; } |
|||
/// <summary>
|
|||
/// 套餐ID
|
|||
/// </summary>
|
|||
|
|||
public Guid? MedicalPackageId { get; set; } |
|||
/// <summary>
|
|||
/// 套餐名称
|
|||
/// </summary>
|
|||
public string MedicalPackageName { get; set; } |
|||
/// <summary>
|
|||
/// 完成标志
|
|||
/// </summary>
|
|||
|
|||
public char CompleteFlag { get; set; } |
|||
/// <summary>
|
|||
/// 预约日期
|
|||
/// </summary>
|
|||
|
|||
public DateTime MedicalStartDate { get; set; } |
|||
public DateTime AppointDate { get; set; } |
|||
/// <summary>
|
|||
/// 备注
|
|||
/// </summary>
|
|||
|
|||
public string? Remark { get; set; } |
|||
/// <summary>
|
|||
/// 体检中心ID
|
|||
/// </summary>
|
|||
|
|||
public Guid MedicalCenterId { get; set; } |
|||
/// <summary>
|
|||
/// 单位登记ID
|
|||
/// </summary>
|
|||
|
|||
public Guid CustomerOrgRegisterId { get; set; } |
|||
|
|||
public string? ConcurrencyStamp { get; set; } |
|||
/// <summary>
|
|||
/// 备孕标志
|
|||
/// </summary>
|
|||
|
|||
public char PregnantFlag { get; set; } |
|||
|
|||
public string PregnantFlagName { get; set; } |
|||
/// <summary>
|
|||
/// 身高
|
|||
/// </summary>
|
|||
public decimal? Height { get; set; } |
|||
/// <summary>
|
|||
/// 体重
|
|||
/// </summary>
|
|||
|
|||
public decimal? Weight { get; set; } |
|||
/// <summary>
|
|||
/// 预约组合项目
|
|||
/// </summary>
|
|||
|
|||
public List<AppointRegisterAsbitemDto> AppointRegisterAsbitems { get; set; } = new List<AppointRegisterAsbitemDto>(); |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.AppointPatientRegisters |
|||
{ |
|||
public class AppointPatientRegisterIdInputDto |
|||
{ |
|||
public Guid AppointPatientRegisterId { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.AppointPatientRegisters |
|||
{ |
|||
public class IdNoOrMobilePhoneInputDto |
|||
{ |
|||
public string IdNo { get; set; } |
|||
public string MobilePhone { get; set; } |
|||
|
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.AppointPatientRegisters |
|||
{ |
|||
public class MobilePhoneInputDto |
|||
{ |
|||
public string MobilePhone { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,45 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.AppointRegisterAsbitems |
|||
{ |
|||
public class AppointRegisterAsbitemDto |
|||
{ |
|||
/// <summary>
|
|||
/// 主键
|
|||
/// </summary>
|
|||
public Guid AppointRegisterAsbitemId { get; set; } |
|||
/// <summary>
|
|||
/// 组合项目ID
|
|||
/// </summary>
|
|||
public Guid AsbitemId { get; set; } |
|||
public string AsbitemName { get; set; } |
|||
/// <summary>
|
|||
/// 预约主档ID
|
|||
/// </summary>
|
|||
public Guid AppointPatientRegisterId { get; set; } |
|||
/// <summary>
|
|||
/// 标准价格
|
|||
/// </summary>
|
|||
public decimal StandardPrice { get; set; } |
|||
/// <summary>
|
|||
/// 收费价格
|
|||
/// </summary>
|
|||
public decimal ChargePrice { get; set; } |
|||
/// <summary>
|
|||
/// 支付类别标准
|
|||
/// </summary>
|
|||
public char PayTypeFlag { get; set; } |
|||
/// <summary>
|
|||
/// 是否收费
|
|||
/// </summary>
|
|||
public char IsCharge { get; set; } |
|||
/// <summary>
|
|||
/// 数量
|
|||
/// </summary>
|
|||
public short Amount { get; set; } |
|||
|
|||
public char IsInMedicalPackage { get; set; } = 'N'; |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue