Browse Source

大文本结果

master
wxd 1 year ago
parent
commit
cb87e0cd45
  1. 2
      src/Shentun.Peis.Application.Contracts/BigtextResultDescriptions/BigtextResultDescriptionIdInputDto.cs
  2. 12
      src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs
  3. 4
      src/Shentun.Peis.DbMigrator/appsettings.json
  4. 4
      src/Shentun.Peis.Domain/BigtextResultTypes/BigtextResultTypeManager.cs
  5. 15609
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20240903025304_update_bigtextresult.Designer.cs
  6. 566
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20240903025304_update_bigtextresult.cs
  7. 77
      src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

2
src/Shentun.Peis.Application.Contracts/BigtextResultDescriptions/BigtextResultDescriptionIdInputDto.cs

@ -8,5 +8,5 @@ namespace Shentun.Peis.BigtextResultDescriptions
{
public Guid BigtextResultDescriptionId { get; set; }
}
}
}

12
src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs

@ -193,9 +193,9 @@ namespace Shentun.Peis.RegisterChecks
//CriticalValueCreateDate = DataHelper.ConversionDateToString(s.CriticalValueCreateDate),
CriticalValueFlag = s.IsCriticalValue,
CriticalValueProcessContent = s.CriticalValueContent,
// CriticalValueProcessDate = DataHelper.ConversionDateToString(s.CriticalValueProcessDate),
// CriticalValueProcessDoctor = s.CriticalValueProcessDoctor,
// CriticalValueProcessFlag = s.CriticalValueProcessFlag,
// CriticalValueProcessDate = DataHelper.ConversionDateToString(s.CriticalValueProcessDate),
// CriticalValueProcessDoctor = s.CriticalValueProcessDoctor,
// CriticalValueProcessFlag = s.CriticalValueProcessFlag,
Id = s.Id,
IsAudit = s.IsAudit,
IsCharge = s.RegisterCheckAsbitems.Where(m => m.IsCharge == 'Y').Count() > 0 ? 'Y' : 'N',
@ -307,8 +307,10 @@ namespace Shentun.Peis.RegisterChecks
input.CheckDoctorId = CurrentUser.Id.ToString();
}
_registerCheckManager.UpdateCheckDoctorAndDateAsync(patientRegister, registerCheck, input.CheckDoctorId, input.CheckDate, input.ExecOrganizationUnitId);
registerCheck.LisAuditorDoctorName = input.LisAuditorDoctorName;
registerCheck.LisSampleNo = input.LisSampleNo;
if (!string.IsNullOrWhiteSpace(input.LisAuditorDoctorName))
registerCheck.LisAuditorDoctorName = input.LisAuditorDoctorName;
if (!string.IsNullOrWhiteSpace(input.LisSampleNo))
registerCheck.LisSampleNo = input.LisSampleNo;
//更新人员登记信息完成标志
patientRegister.CompleteFlag = PatientRegisterCompleteFlag.PartCheck;
await _patientRegisterRepository.UpdateAsync(patientRegister);

4
src/Shentun.Peis.DbMigrator/appsettings.json

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"Default": "Host=140.143.162.39;Port=5432;Database=ShentunPeis240701;User ID=postgres;Password=shentun123;"
"Default": "Host=192.168.2.67;Port=5432;Database=ShentunPeis;User ID=postgres;Password=st123;"
"Default": "Host=140.143.162.39;Port=5432;Database=ShentunPeis240701;User ID=postgres;Password=shentun123;"
//"Default": "Host=192.168.2.67;Port=5432;Database=ShentunPeis;User ID=postgres;Password=st123;"
//"Default": "Host=localhost;Port=5432;Database=ShentunPeis1218;User ID=postgres;Password=wxd123;"
//"Default": "Host=10.1.12.140;Port=5432;Database=ShentunPeis0508;User ID=postgres;Password=st123;"
},

4
src/Shentun.Peis.Domain/BigtextResultTypes/BigtextResultTypeManager.cs

@ -44,7 +44,7 @@ namespace Shentun.Peis.BigtextResultTypes
SimpleCode = LanguageConverter.GetPYSimpleCode(entity.DisplayName),
ItemTypeId = entity.ItemTypeId,
ParentId = entity.ParentId,
PathCode = entity.PathCode,
PathCode = await CreatePathCode(entity.ParentId),
DisplayOrder = await EntityHelper.CreateMaxDisplayOrder(_bigtextResultTypeRepository)
};
}
@ -121,7 +121,7 @@ namespace Shentun.Peis.BigtextResultTypes
await EntityHelper.UpdateSortManyCommonAsync(_bigtextResultTypeRepository, input);
}
/// <summary>
/// 检查空值

15609
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240903025304_update_bigtextresult.Designer.cs
File diff suppressed because it is too large
View File

566
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240903025304_update_bigtextresult.cs

@ -0,0 +1,566 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_bigtextresult : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_register_check_pacs_register_check_register_check_id",
table: "register_check_pacs");
migrationBuilder.DropForeignKey(
name: "FK_register_check_pacs_picture_register_check_pacs_register_ch~",
table: "register_check_pacs_picture");
migrationBuilder.RenameColumn(
name: "Id",
table: "register_check_pacs_picture",
newName: "id");
migrationBuilder.RenameColumn(
name: "LastModifierId",
table: "register_check_pacs_picture",
newName: "last_modifier_id");
migrationBuilder.RenameColumn(
name: "LastModificationTime",
table: "register_check_pacs_picture",
newName: "last_modification_time");
migrationBuilder.RenameColumn(
name: "CreatorId",
table: "register_check_pacs_picture",
newName: "creator_id");
migrationBuilder.RenameColumn(
name: "CreationTime",
table: "register_check_pacs_picture",
newName: "creation_time");
migrationBuilder.RenameColumn(
name: "ConcurrencyStamp",
table: "register_check_pacs_picture",
newName: "concurrency_stamp");
migrationBuilder.RenameColumn(
name: "Id",
table: "register_check_pacs",
newName: "id");
migrationBuilder.RenameColumn(
name: "LastModifierId",
table: "register_check_pacs",
newName: "last_modifier_id");
migrationBuilder.RenameColumn(
name: "LastModificationTime",
table: "register_check_pacs",
newName: "last_modification_time");
migrationBuilder.RenameColumn(
name: "CreatorId",
table: "register_check_pacs",
newName: "creator_id");
migrationBuilder.RenameColumn(
name: "CreationTime",
table: "register_check_pacs",
newName: "creation_time");
migrationBuilder.RenameColumn(
name: "ConcurrencyStamp",
table: "register_check_pacs",
newName: "concurrency_stamp");
migrationBuilder.AlterTable(
name: "register_check_pacs_picture",
comment: "pacs检查信息图片");
migrationBuilder.AlterTable(
name: "register_check_pacs",
comment: "pacs检查信息主表");
migrationBuilder.AlterColumn<Guid>(
name: "register_check_pacs_id",
table: "register_check_pacs_picture",
type: "uuid",
nullable: false,
comment: "pacs检查信息主表id",
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<string>(
name: "picture_path_name",
table: "register_check_pacs_picture",
type: "character varying(200)",
maxLength: 200,
nullable: true,
comment: "图片文件",
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "display_order",
table: "register_check_pacs_picture",
type: "integer",
nullable: false,
defaultValueSql: "1",
comment: "显示顺序",
oldClrType: typeof(int),
oldType: "integer");
migrationBuilder.AlterColumn<string>(
name: "display_name",
table: "register_check_pacs_picture",
type: "character varying(100)",
maxLength: 100,
nullable: true,
comment: "图片名称",
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true);
migrationBuilder.AlterColumn<Guid>(
name: "id",
table: "register_check_pacs_picture",
type: "uuid",
nullable: false,
comment: "检查图片编号",
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<Guid>(
name: "last_modifier_id",
table: "register_check_pacs_picture",
type: "uuid",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
oldClrType: typeof(Guid),
oldType: "uuid",
oldNullable: true);
migrationBuilder.AlterColumn<DateTime>(
name: "last_modification_time",
table: "register_check_pacs_picture",
type: "timestamp without time zone",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
oldClrType: typeof(DateTime),
oldType: "timestamp without time zone",
oldNullable: true);
migrationBuilder.AlterColumn<Guid>(
name: "creator_id",
table: "register_check_pacs_picture",
type: "uuid",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
oldClrType: typeof(Guid),
oldType: "uuid",
oldNullable: true);
migrationBuilder.AlterColumn<Guid>(
name: "register_check_id",
table: "register_check_pacs",
type: "uuid",
nullable: false,
comment: "登记流水号",
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<int>(
name: "display_order",
table: "register_check_pacs",
type: "integer",
nullable: false,
defaultValueSql: "1",
comment: "显示顺序",
oldClrType: typeof(int),
oldType: "integer");
migrationBuilder.AlterColumn<string>(
name: "dicom_path_name",
table: "register_check_pacs",
type: "character varying(200)",
maxLength: 200,
nullable: true,
comment: "DICOM文件路径",
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "check_result",
table: "register_check_pacs",
type: "character varying(500)",
maxLength: 500,
nullable: true,
comment: "检查结果",
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "check_desc",
table: "register_check_pacs",
type: "character varying(500)",
maxLength: 500,
nullable: true,
comment: "检查描述",
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.AlterColumn<Guid>(
name: "id",
table: "register_check_pacs",
type: "uuid",
nullable: false,
comment: "检查图片编号",
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<Guid>(
name: "last_modifier_id",
table: "register_check_pacs",
type: "uuid",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
oldClrType: typeof(Guid),
oldType: "uuid",
oldNullable: true);
migrationBuilder.AlterColumn<DateTime>(
name: "last_modification_time",
table: "register_check_pacs",
type: "timestamp without time zone",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
oldClrType: typeof(DateTime),
oldType: "timestamp without time zone",
oldNullable: true);
migrationBuilder.AlterColumn<Guid>(
name: "creator_id",
table: "register_check_pacs",
type: "uuid",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
oldClrType: typeof(Guid),
oldType: "uuid",
oldNullable: true);
migrationBuilder.AlterColumn<Guid>(
name: "parent_id",
table: "bigtext_result_type",
type: "uuid",
fixedLength: true,
nullable: true,
comment: "父编号",
oldClrType: typeof(Guid),
oldType: "uuid",
oldFixedLength: true,
oldComment: "父编号");
migrationBuilder.AddForeignKey(
name: "fk_register_check_pacs_register_check",
table: "register_check_pacs",
column: "register_check_id",
principalTable: "register_check",
principalColumn: "id",
onDelete: ReferentialAction.Cascade);
migrationBuilder.AddForeignKey(
name: "fk_register_check_pacs_picture_register_check_pacs",
table: "register_check_pacs_picture",
column: "register_check_pacs_id",
principalTable: "register_check_pacs",
principalColumn: "id",
onDelete: ReferentialAction.Cascade);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "fk_register_check_pacs_register_check",
table: "register_check_pacs");
migrationBuilder.DropForeignKey(
name: "fk_register_check_pacs_picture_register_check_pacs",
table: "register_check_pacs_picture");
migrationBuilder.RenameColumn(
name: "id",
table: "register_check_pacs_picture",
newName: "Id");
migrationBuilder.RenameColumn(
name: "last_modifier_id",
table: "register_check_pacs_picture",
newName: "LastModifierId");
migrationBuilder.RenameColumn(
name: "last_modification_time",
table: "register_check_pacs_picture",
newName: "LastModificationTime");
migrationBuilder.RenameColumn(
name: "creator_id",
table: "register_check_pacs_picture",
newName: "CreatorId");
migrationBuilder.RenameColumn(
name: "creation_time",
table: "register_check_pacs_picture",
newName: "CreationTime");
migrationBuilder.RenameColumn(
name: "concurrency_stamp",
table: "register_check_pacs_picture",
newName: "ConcurrencyStamp");
migrationBuilder.RenameColumn(
name: "id",
table: "register_check_pacs",
newName: "Id");
migrationBuilder.RenameColumn(
name: "last_modifier_id",
table: "register_check_pacs",
newName: "LastModifierId");
migrationBuilder.RenameColumn(
name: "last_modification_time",
table: "register_check_pacs",
newName: "LastModificationTime");
migrationBuilder.RenameColumn(
name: "creator_id",
table: "register_check_pacs",
newName: "CreatorId");
migrationBuilder.RenameColumn(
name: "creation_time",
table: "register_check_pacs",
newName: "CreationTime");
migrationBuilder.RenameColumn(
name: "concurrency_stamp",
table: "register_check_pacs",
newName: "ConcurrencyStamp");
migrationBuilder.AlterTable(
name: "register_check_pacs_picture",
oldComment: "pacs检查信息图片");
migrationBuilder.AlterTable(
name: "register_check_pacs",
oldComment: "pacs检查信息主表");
migrationBuilder.AlterColumn<Guid>(
name: "register_check_pacs_id",
table: "register_check_pacs_picture",
type: "uuid",
nullable: false,
oldClrType: typeof(Guid),
oldType: "uuid",
oldComment: "pacs检查信息主表id");
migrationBuilder.AlterColumn<string>(
name: "picture_path_name",
table: "register_check_pacs_picture",
type: "character varying(200)",
maxLength: 200,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldNullable: true,
oldComment: "图片文件");
migrationBuilder.AlterColumn<int>(
name: "display_order",
table: "register_check_pacs_picture",
type: "integer",
nullable: false,
oldClrType: typeof(int),
oldType: "integer",
oldDefaultValueSql: "1",
oldComment: "显示顺序");
migrationBuilder.AlterColumn<string>(
name: "display_name",
table: "register_check_pacs_picture",
type: "character varying(100)",
maxLength: 100,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true,
oldComment: "图片名称");
migrationBuilder.AlterColumn<Guid>(
name: "Id",
table: "register_check_pacs_picture",
type: "uuid",
nullable: false,
oldClrType: typeof(Guid),
oldType: "uuid",
oldComment: "检查图片编号");
migrationBuilder.AlterColumn<Guid>(
name: "LastModifierId",
table: "register_check_pacs_picture",
type: "uuid",
nullable: true,
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<DateTime>(
name: "LastModificationTime",
table: "register_check_pacs_picture",
type: "timestamp without time zone",
nullable: true,
oldClrType: typeof(DateTime),
oldType: "timestamp without time zone");
migrationBuilder.AlterColumn<Guid>(
name: "CreatorId",
table: "register_check_pacs_picture",
type: "uuid",
nullable: true,
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<Guid>(
name: "register_check_id",
table: "register_check_pacs",
type: "uuid",
nullable: false,
oldClrType: typeof(Guid),
oldType: "uuid",
oldComment: "登记流水号");
migrationBuilder.AlterColumn<int>(
name: "display_order",
table: "register_check_pacs",
type: "integer",
nullable: false,
oldClrType: typeof(int),
oldType: "integer",
oldDefaultValueSql: "1",
oldComment: "显示顺序");
migrationBuilder.AlterColumn<string>(
name: "dicom_path_name",
table: "register_check_pacs",
type: "character varying(200)",
maxLength: 200,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldNullable: true,
oldComment: "DICOM文件路径");
migrationBuilder.AlterColumn<string>(
name: "check_result",
table: "register_check_pacs",
type: "character varying(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldNullable: true,
oldComment: "检查结果");
migrationBuilder.AlterColumn<string>(
name: "check_desc",
table: "register_check_pacs",
type: "character varying(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldNullable: true,
oldComment: "检查描述");
migrationBuilder.AlterColumn<Guid>(
name: "Id",
table: "register_check_pacs",
type: "uuid",
nullable: false,
oldClrType: typeof(Guid),
oldType: "uuid",
oldComment: "检查图片编号");
migrationBuilder.AlterColumn<Guid>(
name: "LastModifierId",
table: "register_check_pacs",
type: "uuid",
nullable: true,
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<DateTime>(
name: "LastModificationTime",
table: "register_check_pacs",
type: "timestamp without time zone",
nullable: true,
oldClrType: typeof(DateTime),
oldType: "timestamp without time zone");
migrationBuilder.AlterColumn<Guid>(
name: "CreatorId",
table: "register_check_pacs",
type: "uuid",
nullable: true,
oldClrType: typeof(Guid),
oldType: "uuid");
migrationBuilder.AlterColumn<Guid>(
name: "parent_id",
table: "bigtext_result_type",
type: "uuid",
fixedLength: true,
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
comment: "父编号",
oldClrType: typeof(Guid),
oldType: "uuid",
oldFixedLength: true,
oldNullable: true,
oldComment: "父编号");
migrationBuilder.AddForeignKey(
name: "FK_register_check_pacs_register_check_register_check_id",
table: "register_check_pacs",
column: "register_check_id",
principalTable: "register_check",
principalColumn: "id",
onDelete: ReferentialAction.Cascade);
migrationBuilder.AddForeignKey(
name: "FK_register_check_pacs_picture_register_check_pacs_register_ch~",
table: "register_check_pacs_picture",
column: "register_check_pacs_id",
principalTable: "register_check_pacs",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
}
}
}

77
src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

@ -1046,7 +1046,7 @@ namespace Shentun.Peis.Migrations
.HasColumnType("uuid")
.HasColumnName("last_modifier_id");
b.Property<Guid>("ParentId")
b.Property<Guid?>("ParentId")
.HasColumnType("uuid")
.HasColumnName("parent_id")
.IsFixedLength()
@ -8996,110 +8996,137 @@ namespace Shentun.Peis.Migrations
modelBuilder.Entity("Shentun.Peis.Models.RegisterCheckPacs", b =>
{
b.Property<Guid>("Id")
.HasColumnType("uuid");
.HasColumnType("uuid")
.HasColumnName("id")
.HasComment("检查图片编号");
b.Property<string>("CheckDesc")
.HasMaxLength(500)
.HasColumnType("character varying(500)")
.HasColumnName("check_desc");
.HasColumnName("check_desc")
.HasComment("检查描述");
b.Property<string>("CheckResult")
.HasMaxLength(500)
.HasColumnType("character varying(500)")
.HasColumnName("check_result");
.HasColumnName("check_result")
.HasComment("检查结果");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
.HasColumnName("concurrency_stamp");
b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime");
.HasColumnName("creation_time");
b.Property<Guid?>("CreatorId")
.IsRequired()
.HasColumnType("uuid")
.HasColumnName("CreatorId");
.HasColumnName("creator_id");
b.Property<string>("DicomPathName")
.HasMaxLength(200)
.HasColumnType("character varying(200)")
.HasColumnName("dicom_path_name");
.HasColumnName("dicom_path_name")
.HasComment("DICOM文件路径");
b.Property<int>("DisplayOrder")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasColumnName("display_order");
.HasColumnName("display_order")
.HasDefaultValueSql("1")
.HasComment("显示顺序");
b.Property<DateTime?>("LastModificationTime")
.IsRequired()
.HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime");
.HasColumnName("last_modification_time");
b.Property<Guid?>("LastModifierId")
.IsRequired()
.HasColumnType("uuid")
.HasColumnName("LastModifierId");
.HasColumnName("last_modifier_id");
b.Property<Guid>("RegisterCheckId")
.HasColumnType("uuid")
.HasColumnName("register_check_id");
.HasColumnName("register_check_id")
.HasComment("登记流水号");
b.HasKey("Id");
b.HasIndex("RegisterCheckId");
b.ToTable("register_check_pacs");
b.HasComment("pacs检查信息主表");
});
modelBuilder.Entity("Shentun.Peis.Models.RegisterCheckPacsPicture", b =>
{
b.Property<Guid>("Id")
.HasColumnType("uuid");
.HasColumnType("uuid")
.HasColumnName("id")
.HasComment("检查图片编号");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
.HasColumnName("concurrency_stamp");
b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime");
.HasColumnName("creation_time");
b.Property<Guid?>("CreatorId")
.IsRequired()
.HasColumnType("uuid")
.HasColumnName("CreatorId");
.HasColumnName("creator_id");
b.Property<string>("DisplayName")
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasColumnName("display_name");
.HasColumnName("display_name")
.HasComment("图片名称");
b.Property<int>("DisplayOrder")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasColumnName("display_order");
.HasColumnName("display_order")
.HasDefaultValueSql("1")
.HasComment("显示顺序");
b.Property<DateTime?>("LastModificationTime")
.IsRequired()
.HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime");
.HasColumnName("last_modification_time");
b.Property<Guid?>("LastModifierId")
.IsRequired()
.HasColumnType("uuid")
.HasColumnName("LastModifierId");
.HasColumnName("last_modifier_id");
b.Property<string>("PicturePathName")
.HasMaxLength(200)
.HasColumnType("character varying(200)")
.HasColumnName("picture_path_name");
.HasColumnName("picture_path_name")
.HasComment("图片文件");
b.Property<Guid>("RegisterCheckPacsId")
.HasColumnType("uuid")
.HasColumnName("register_check_pacs_id");
.HasColumnName("register_check_pacs_id")
.HasComment("pacs检查信息主表id");
b.HasKey("Id");
b.HasIndex("RegisterCheckPacsId");
b.ToTable("register_check_pacs_picture");
b.HasComment("pacs检查信息图片");
});
modelBuilder.Entity("Shentun.Peis.Models.RegisterCheckPicture", b =>
@ -14590,7 +14617,8 @@ namespace Shentun.Peis.Migrations
.WithMany("RegisterCheckPacss")
.HasForeignKey("RegisterCheckId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
.IsRequired()
.HasConstraintName("fk_register_check_pacs_register_check");
b.Navigation("RegisterCheck");
});
@ -14601,7 +14629,8 @@ namespace Shentun.Peis.Migrations
.WithMany("RegisterCheckPacsPictures")
.HasForeignKey("RegisterCheckPacsId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
.IsRequired()
.HasConstraintName("fk_register_check_pacs_picture_register_check_pacs");
b.Navigation("RegisterCheckPacs");
});

Loading…
Cancel
Save