11 changed files with 13548 additions and 73 deletions
-
14src/Shentun.Peis.Application/Diagnosises/DiagnosisAppService.cs
-
19src/Shentun.Peis.Application/SampleGroupDetails/SampleGroupDetailAppService.cs
-
13src/Shentun.Peis.Application/SampleGroups/SampleGroupAppService.cs
-
57src/Shentun.Peis.Domain/Diagnosises/DiagnosisManager.cs
-
3src/Shentun.Peis.Domain/SampleGroupDetails/SampleGroupDetail.cs
-
15src/Shentun.Peis.Domain/SampleGroupDetails/SampleGroupDetailManager.cs
-
25src/Shentun.Peis.Domain/SampleGroups/SampleGroupManager.cs
-
1src/Shentun.Peis.EntityFrameworkCore/DbMapping/SampleGroups/SampleGroupDbMapping.cs
-
13431src/Shentun.Peis.EntityFrameworkCore/Migrations/20240325061044_init20240325001.Designer.cs
-
39src/Shentun.Peis.EntityFrameworkCore/Migrations/20240325061044_init20240325001.cs
-
4src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
13431
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240325061044_init20240325001.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,39 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class init20240325001 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "sample_group", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "sample_group", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldComment: "名称"); |
|||
} |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue