6 changed files with 123 additions and 33 deletions
			
			
		- 
					35src/Shentun.WebPeis.Domain/Models/AppointSchedule.cs
 - 
					34src/Shentun.WebPeis.Domain/Models/AppointScheduleCustomerOrg.cs
 - 
					46src/Shentun.WebPeis.Domain/Models/AppointScheduleTemplate.cs
 - 
					35src/Shentun.WebPeis.Domain/Models/AppointScheduleTime.cs
 - 
					5src/Shentun.WebPeis.EntityFrameworkCore/Configures/AppointScheduleConfigure.cs
 - 
					1src/Shentun.WebPeis.EntityFrameworkCore/Configures/AppointScheduleTemplateConfigure.cs
 
@ -1,26 +1,45 @@ | 
				
			|||
using System; | 
				
			|||
using System.Collections.Generic; | 
				
			|||
using Volo.Abp.Domain.Entities.Auditing; | 
				
			|||
using Volo.Abp.Domain.Entities; | 
				
			|||
 | 
				
			|||
namespace Shentun.WebPeis.Models; | 
				
			|||
 | 
				
			|||
public partial class AppointSchedule | 
				
			|||
/// <summary>
 | 
				
			|||
/// 预约计划主表
 | 
				
			|||
/// </summary>
 | 
				
			|||
public partial class AppointSchedule : AuditedEntity, IHasConcurrencyStamp | 
				
			|||
{ | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 预约日期
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public DateTime? AppointDate { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 上午数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int AmNumberLimit { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 下午数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public int PmNumberLimit { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 个人体检数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public DateTime? CreationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? CreatorId { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? LastModificationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? LastModifierId { get; set; } | 
				
			|||
    public int SingleNumberLimit { get; set; } | 
				
			|||
 | 
				
			|||
    public string? ConcurrencyStamp { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 主键
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public Guid AppointScheduleId { get; set; } | 
				
			|||
 | 
				
			|||
    public virtual ICollection<AppointScheduleTime> AppointScheduleTimes { get; set; } = new List<AppointScheduleTime>(); | 
				
			|||
 | 
				
			|||
    public override object?[] GetKeys() | 
				
			|||
    { | 
				
			|||
        return [AppointScheduleId]; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -1,26 +1,44 @@ | 
				
			|||
using System; | 
				
			|||
using System.Collections.Generic; | 
				
			|||
using Volo.Abp.Domain.Entities.Auditing; | 
				
			|||
using Volo.Abp.Domain.Entities; | 
				
			|||
 | 
				
			|||
namespace Shentun.WebPeis.Models; | 
				
			|||
 | 
				
			|||
public partial class AppointScheduleCustomerOrg | 
				
			|||
/// <summary>
 | 
				
			|||
/// 单位预约计划
 | 
				
			|||
/// </summary>
 | 
				
			|||
public partial class AppointScheduleCustomerOrg : AuditedEntity, IHasConcurrencyStamp | 
				
			|||
{ | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 主键
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public Guid AppointScheduleCustomerOrgId { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 单位ID
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public Guid CustomerOrgId { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 开始日期
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public DateTime? StartDate { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 结束日期
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public DateTime? StopDate { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int? NumberLimit { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? CreationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? CreatorId { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? LastModificationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? LastModifierId { get; set; } | 
				
			|||
 | 
				
			|||
    public string? ConcurrencyStamp { get; set; } | 
				
			|||
 | 
				
			|||
    public override object?[] GetKeys() | 
				
			|||
    { | 
				
			|||
        return [AppointScheduleCustomerOrgId]; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -1,35 +1,67 @@ | 
				
			|||
using System; | 
				
			|||
using System.Collections.Generic; | 
				
			|||
using Volo.Abp.Domain.Entities.Auditing; | 
				
			|||
using Volo.Abp.Domain.Entities; | 
				
			|||
 | 
				
			|||
namespace Shentun.WebPeis.Models; | 
				
			|||
 | 
				
			|||
public partial class AppointScheduleTemplate | 
				
			|||
/// <summary>
 | 
				
			|||
/// 预约计划模板
 | 
				
			|||
/// </summary>
 | 
				
			|||
public partial class AppointScheduleTemplate : AuditedEntity, IHasConcurrencyStamp | 
				
			|||
{ | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 主键
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public Guid AppointScheduleTemplateId { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 星期
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int? WeekId { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 上午数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int AmNumberLimit { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 下午数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int PmNumberLimit { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 个人体检数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public int SingleNumberLimit { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 上午上班时间
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public TimeOnly? AmStartTime { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 上午下班时间
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public TimeOnly? AmStopTime { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 下午上班时间
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public TimeOnly? PmStartTime { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 下午下班时间
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public TimeOnly? PmStopTime { get; set; } | 
				
			|||
 | 
				
			|||
    public int? DisplayOrder { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? CreationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? CreatorId { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? LastModificationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? LastModifierId { get; set; } | 
				
			|||
 | 
				
			|||
    public string? ConcurrencyStamp { get; set; } | 
				
			|||
 | 
				
			|||
    public override object?[] GetKeys() | 
				
			|||
    { | 
				
			|||
        return [AppointScheduleTemplateId]; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -1,31 +1,50 @@ | 
				
			|||
using System; | 
				
			|||
using System.Collections.Generic; | 
				
			|||
using Volo.Abp.Domain.Entities.Auditing; | 
				
			|||
using Volo.Abp.Domain.Entities; | 
				
			|||
 | 
				
			|||
namespace Shentun.WebPeis.Models; | 
				
			|||
 | 
				
			|||
public partial class AppointScheduleTime | 
				
			|||
/// <summary>
 | 
				
			|||
/// 预约计划明细表
 | 
				
			|||
/// </summary>
 | 
				
			|||
public partial class AppointScheduleTime : AuditedEntity, IHasConcurrencyStamp | 
				
			|||
{ | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 主键
 | 
				
			|||
    /// </summary>
 | 
				
			|||
    public Guid AppointScheduleTimeId { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 开始时间
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public TimeOnly? StartTime { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 结束时间
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public TimeOnly? StopTime { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 数量限制
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int? NumberLimit { get; set; } | 
				
			|||
    /// <summary>
 | 
				
			|||
    /// 已预约数
 | 
				
			|||
    /// </summary>
 | 
				
			|||
 | 
				
			|||
    public int? AppointNumber { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? CreationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? CreatorId { get; set; } | 
				
			|||
 | 
				
			|||
    public DateTime? LastModificationTime { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? LastModifierId { get; set; } | 
				
			|||
   | 
				
			|||
 | 
				
			|||
    public string? ConcurrencyStamp { get; set; } | 
				
			|||
 | 
				
			|||
    public Guid? AppointScheduleId { get; set; } | 
				
			|||
 | 
				
			|||
    public virtual AppointSchedule? AppointSchedule { get; set; } | 
				
			|||
 | 
				
			|||
    public override object?[] GetKeys() | 
				
			|||
    { | 
				
			|||
        return [AppointScheduleTimeId]; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
						Write
						Preview
					
					
					Loading…
					
					Cancel
						Save
					
		Reference in new issue