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)