From 46144f58e975f1c2761fb1e92a135ab59c419d82 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Fri, 7 Jun 2024 16:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=BB=84=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebAppointPatientRegisterInput.cs | 23 ++++++++++++++++++- .../AppointPatientRegisterInputDto.cs | 20 ++++++++++++++++ .../CustomerOrgGroups/CustomerOrgGroup.cs | 6 +++++ .../CustomerOrgGroupDbMapping.cs | 2 +- 4 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/Shentun.ColumnReferencePlugIns/WebAppointPatientRegisterInput.cs b/src/Shentun.ColumnReferencePlugIns/WebAppointPatientRegisterInput.cs index 7f24c91..3722686 100644 --- a/src/Shentun.ColumnReferencePlugIns/WebAppointPatientRegisterInput.cs +++ b/src/Shentun.ColumnReferencePlugIns/WebAppointPatientRegisterInput.cs @@ -6,10 +6,31 @@ namespace Shentun.Peis.PlugIns { public class WebAppointPatientRegisterInput { - public Guid MedicalCenterId { get; set; } + /// + /// 体检中心ID + /// + public Guid? MedicalCenterId { get; set; } + /// + /// 身份证号 + /// public string IdNo { get; set; } + /// + /// 手机号 + /// public string MobilePhone { get; set; } + /// + /// 预约开始日期 + /// + public DateTime? AppointStartDate { get; set; } + /// + /// 预约结束日期 + /// public DateTime? AppointStopDate { get; set; } + /// + /// 完成标志 0- 预约,1-取消预约 + /// + + public char? CompleteFlag { get; set; } } } diff --git a/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs b/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs index f9a6dc3..9719ace 100644 --- a/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs +++ b/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs @@ -6,12 +6,32 @@ namespace Shentun.Peis.AppointPatientRegisters { public class AppointPatientRegisterInputDto { + /// + /// 接口ID + /// public Guid ThirdInterFaceId { get; set; } + /// + /// 身份证号 + /// public string IdNo { get; set; } + /// + /// 手机号 + /// public string MobilePhone { get; set; } + /// + /// 预约开始日期 + /// public DateTime? AppointStartDate { get; set; } + /// + /// 预约结束日期 + /// public DateTime? AppointStopDate { get; set; } + /// + /// 完成标志 0- 预约,1-取消预约 + /// + + public char? CompleteFlag { get; set; } } } diff --git a/src/Shentun.Peis.Domain/CustomerOrgGroups/CustomerOrgGroup.cs b/src/Shentun.Peis.Domain/CustomerOrgGroups/CustomerOrgGroup.cs index 30e67a1..6634ded 100644 --- a/src/Shentun.Peis.Domain/CustomerOrgGroups/CustomerOrgGroup.cs +++ b/src/Shentun.Peis.Domain/CustomerOrgGroups/CustomerOrgGroup.cs @@ -81,6 +81,12 @@ namespace Shentun.Peis.Models /// [Column("display_order")] public int DisplayOrder { get; set; } + /// + /// 可增加单位支付金额 + /// + [Column("can_add_money")] + [Precision(10, 2)] + public decimal CanAddMoney { get; set; } ///// ///// 最后修改者 ///// diff --git a/src/Shentun.Peis.EntityFrameworkCore/DbMapping/CustomerOrgGroups/CustomerOrgGroupDbMapping.cs b/src/Shentun.Peis.EntityFrameworkCore/DbMapping/CustomerOrgGroups/CustomerOrgGroupDbMapping.cs index 66fa66a..3a54762 100644 --- a/src/Shentun.Peis.EntityFrameworkCore/DbMapping/CustomerOrgGroups/CustomerOrgGroupDbMapping.cs +++ b/src/Shentun.Peis.EntityFrameworkCore/DbMapping/CustomerOrgGroups/CustomerOrgGroupDbMapping.cs @@ -49,7 +49,7 @@ namespace Shentun.Peis.DbMapping entity.Property(e => e.MaritalStatusId).HasComment("适用婚姻状况").IsRequired(); entity.Property(e => e.Price).HasComment("价格").IsRequired(); - + entity.Property(e => e.CanAddMoney).HasComment("可增加单位支付金额").IsRequired().HasDefaultValueSql("0"); entity.Property(e => e.Remark).HasComment("备注"); entity.HasOne(d => d.CustomerOrgRegister)