9 changed files with 15067 additions and 4 deletions
-
11src/Shentun.Peis.Application.Contracts/Asbitems/AsbitemDto.cs
-
12src/Shentun.Peis.Application.Contracts/Asbitems/CreateAsbitemDto.cs
-
11src/Shentun.Peis.Application.Contracts/Asbitems/UpdateAsbitemDto.cs
-
2src/Shentun.Peis.Application/Asbitems/AsbitemAppService.cs
-
8src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs
-
9src/Shentun.Peis.Domain/Asbitems/AsbitemManager.cs
-
14944src/Shentun.Peis.EntityFrameworkCore/Migrations/20240603101852_init20240603001.Designer.cs
-
53src/Shentun.Peis.EntityFrameworkCore/Migrations/20240603101852_init20240603001.cs
-
21src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
14944
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240603101852_init20240603001.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,53 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class init20240603001 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "appoint_patient_register_id", |
||||
|
table: "patient_register", |
||||
|
type: "uuid", |
||||
|
nullable: true, |
||||
|
comment: "预约人员登记ID"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_disable_pregnancy", |
||||
|
table: "asbitem", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "怀孕期间禁止检查"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_disable_prepare_pregnancy", |
||||
|
table: "asbitem", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "备孕期间禁止检查"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "appoint_patient_register_id", |
||||
|
table: "patient_register"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_disable_pregnancy", |
||||
|
table: "asbitem"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_disable_prepare_pregnancy", |
||||
|
table: "asbitem"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue