12 changed files with 16385 additions and 30 deletions
-
2src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs
-
3src/Shentun.WebPeis.DbMigrator/appsettings.json
-
4src/Shentun.WebPeis.Domain/Charges/ChargeManager.cs
-
2src/Shentun.WebPeis.Domain/Models/Asbitem.cs
-
2src/Shentun.WebPeis.Domain/Models/ChargeAsbitem.cs
-
8src/Shentun.WebPeis.EntityFrameworkCore/Configures/ChargeAsbitemConfigure.cs
-
7src/Shentun.WebPeis.EntityFrameworkCore/Configures/ChargePayConfigure.cs
-
8128src/Shentun.WebPeis.EntityFrameworkCore/Migrations/20241119071328_update_charge_pay.Designer.cs
-
79src/Shentun.WebPeis.EntityFrameworkCore/Migrations/20241119071328_update_charge_pay.cs
-
8116src/Shentun.WebPeis.EntityFrameworkCore/Migrations/20241119080012_update_charge_asbitem.Designer.cs
-
38src/Shentun.WebPeis.EntityFrameworkCore/Migrations/20241119080012_update_charge_asbitem.cs
-
26src/Shentun.WebPeis.EntityFrameworkCore/Migrations/WebPeisDbContextModelSnapshot.cs
8128
src/Shentun.WebPeis.EntityFrameworkCore/Migrations/20241119071328_update_charge_pay.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,79 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.WebPeis.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class update_charge_pay : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterTable( |
||||
|
name: "charge_pay", |
||||
|
comment: "收费方式", |
||||
|
oldComment: "收费支付方式"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "creation_time", |
||||
|
table: "charge_pay", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "creator_id", |
||||
|
table: "charge_pay", |
||||
|
type: "uuid", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "last_modification_time", |
||||
|
table: "charge_pay", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "last_modifier_id", |
||||
|
table: "charge_pay", |
||||
|
type: "uuid", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddPrimaryKey( |
||||
|
name: "charge_pay_key", |
||||
|
table: "charge_pay", |
||||
|
column: "charge_pay_id"); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropPrimaryKey( |
||||
|
name: "charge_pay_key", |
||||
|
table: "charge_pay"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "creation_time", |
||||
|
table: "charge_pay"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "creator_id", |
||||
|
table: "charge_pay"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "last_modification_time", |
||||
|
table: "charge_pay"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "last_modifier_id", |
||||
|
table: "charge_pay"); |
||||
|
|
||||
|
migrationBuilder.AlterTable( |
||||
|
name: "charge_pay", |
||||
|
comment: "收费支付方式", |
||||
|
oldComment: "收费方式"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
8116
src/Shentun.WebPeis.EntityFrameworkCore/Migrations/20241119080012_update_charge_asbitem.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,38 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.WebPeis.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class update_charge_asbitem : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropForeignKey( |
||||
|
name: "fk_charge_asbitem_asbitem", |
||||
|
table: "charge_asbitem"); |
||||
|
|
||||
|
migrationBuilder.DropIndex( |
||||
|
name: "IX_charge_asbitem_asbitem_id", |
||||
|
table: "charge_asbitem"); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.CreateIndex( |
||||
|
name: "IX_charge_asbitem_asbitem_id", |
||||
|
table: "charge_asbitem", |
||||
|
column: "asbitem_id"); |
||||
|
|
||||
|
migrationBuilder.AddForeignKey( |
||||
|
name: "fk_charge_asbitem_asbitem", |
||||
|
table: "charge_asbitem", |
||||
|
column: "asbitem_id", |
||||
|
principalTable: "asbitem", |
||||
|
principalColumn: "asbitem_id"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue