6 changed files with 17155 additions and 2 deletions
-
30src/Shentun.Peis.Application.Contracts/QueueRegisters/GetCancelQueueRegisterByPatientRegisterIdDto.cs
-
91src/Shentun.Peis.Application/QueueRegisters/QueueRegisterAppService.cs
-
2src/Shentun.Peis.Domain/QueueRegisters/QueueRegister.cs
-
16973src/Shentun.Peis.EntityFrameworkCore/Migrations/20260417084113_update_queue_register_add_soft_del.Designer.cs
-
47src/Shentun.Peis.EntityFrameworkCore/Migrations/20260417084113_update_queue_register_add_soft_del.cs
-
14src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
@ -0,0 +1,30 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Text; |
||||
|
|
||||
|
namespace Shentun.Peis.QueueRegisters |
||||
|
{ |
||||
|
public class GetCancelQueueRegisterByPatientRegisterIdDto |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 排队id
|
||||
|
/// </summary>
|
||||
|
public Guid QueueRegisterId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 房间名称
|
||||
|
/// </summary>
|
||||
|
public string RoomName { get; set; } |
||||
|
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 排队时间
|
||||
|
/// </summary>
|
||||
|
public string QueueTime { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 号码
|
||||
|
/// </summary>
|
||||
|
public int DisplayOrder { get; set; } |
||||
|
} |
||||
|
} |
||||
16973
src/Shentun.Peis.EntityFrameworkCore/Migrations/20260417084113_update_queue_register_add_soft_del.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,47 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class update_queue_register_add_soft_del : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "deleter_id", |
||||
|
table: "queue_register", |
||||
|
type: "uuid", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "deletion_time", |
||||
|
table: "queue_register", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<bool>( |
||||
|
name: "is_deleted", |
||||
|
table: "queue_register", |
||||
|
type: "boolean", |
||||
|
nullable: false, |
||||
|
defaultValue: false); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "deleter_id", |
||||
|
table: "queue_register"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "deletion_time", |
||||
|
table: "queue_register"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_deleted", |
||||
|
table: "queue_register"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue