FileUploadRecord 表字段
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
49eeee35bb
commit
1a39d03c7e
|
|
@ -16862,17 +16862,17 @@
|
|||
</member>
|
||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
||||
<summary>
|
||||
质疑
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
||||
<summary>
|
||||
一致性核查
|
||||
һ<EFBFBD><EFBFBD><EFBFBD>Ժ˲<EFBFBD>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
||||
<summary>
|
||||
复制
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,187 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Segment : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Priority",
|
||||
table: "UploadFileSyncRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "UploadFinishedTime",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "syncFinishedTime",
|
||||
table: "FileUploadRecord",
|
||||
newName: "SyncFinishedTime");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UploadRegion",
|
||||
table: "FileUploadRecord",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
comment: "上传区域",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(400)",
|
||||
oldMaxLength: 400);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "FileType",
|
||||
table: "FileUploadRecord",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
comment: "文件类型",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(400)",
|
||||
oldMaxLength: 400);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "BatchDataType",
|
||||
table: "FileUploadRecord",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "该批次数据类型");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "DicomStudyId",
|
||||
table: "FileUploadRecord",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "NoneDicomStudyId",
|
||||
table: "FileUploadRecord",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Priority",
|
||||
table: "FileUploadRecord",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "同步优先级");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TargetRegion",
|
||||
table: "FileUploadRecord",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "目标区域");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "UploadBatchId",
|
||||
table: "FileUploadRecord",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "上传批次");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_FileUploadRecord_DicomStudy_DicomStudyId",
|
||||
table: "FileUploadRecord",
|
||||
column: "DicomStudyId",
|
||||
principalTable: "DicomStudy",
|
||||
principalColumn: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_FileUploadRecord_NoneDicomStudy_NoneDicomStudyId",
|
||||
table: "FileUploadRecord",
|
||||
column: "NoneDicomStudyId",
|
||||
principalTable: "NoneDicomStudy",
|
||||
principalColumn: "Id");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_FileUploadRecord_DicomStudy_DicomStudyId",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_FileUploadRecord_NoneDicomStudy_NoneDicomStudyId",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "BatchDataType",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DicomStudyId",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "NoneDicomStudyId",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Priority",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TargetRegion",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "UploadBatchId",
|
||||
table: "FileUploadRecord");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SyncFinishedTime",
|
||||
table: "FileUploadRecord",
|
||||
newName: "syncFinishedTime");
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Priority",
|
||||
table: "UploadFileSyncRecord",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UploadRegion",
|
||||
table: "FileUploadRecord",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(400)",
|
||||
oldMaxLength: 400,
|
||||
oldComment: "上传区域");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "FileType",
|
||||
table: "FileUploadRecord",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(400)",
|
||||
oldMaxLength: 400,
|
||||
oldComment: "文件类型");
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "UploadFinishedTime",
|
||||
table: "FileUploadRecord",
|
||||
type: "datetime2",
|
||||
nullable: false,
|
||||
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||||
comment: "上传结束时间");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3105,12 +3105,19 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
b.Property<Guid>("Id")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("BatchDataType")
|
||||
.HasColumnType("int")
|
||||
.HasComment("该批次数据类型");
|
||||
|
||||
b.Property<DateTime>("CreateTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid>("CreateUserId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("DicomStudyId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("FileMarkId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
|
|
@ -3128,7 +3135,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
b.Property<string>("FileType")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("文件类型");
|
||||
|
||||
b.Property<string>("IP")
|
||||
.IsRequired()
|
||||
|
|
@ -3143,17 +3151,34 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasColumnType("bit")
|
||||
.HasComment("是否已同步-最后一个任务的状态");
|
||||
|
||||
b.Property<Guid?>("NoneDicomStudyId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Path")
|
||||
.IsRequired()
|
||||
.HasMaxLength(1000)
|
||||
.HasColumnType("nvarchar(1000)");
|
||||
|
||||
b.Property<int?>("Priority")
|
||||
.HasColumnType("int")
|
||||
.HasComment("同步优先级");
|
||||
|
||||
b.Property<Guid?>("SubjectId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("SubjectVisitId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("SyncFinishedTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasComment("同步结束时间-最后一个任务的时间");
|
||||
|
||||
b.Property<string>("TargetRegion")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("目标区域");
|
||||
|
||||
b.Property<Guid?>("TrialId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
|
|
@ -3163,18 +3188,17 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
b.Property<Guid>("UpdateUserId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime>("UploadFinishedTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasComment("上传结束时间");
|
||||
b.Property<string>("UploadBatchId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("上传批次");
|
||||
|
||||
b.Property<string>("UploadRegion")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<DateTime?>("syncFinishedTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasComment("同步结束时间-最后一个任务的时间");
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("上传区域");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
|
|
@ -15222,9 +15246,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<int>("Priority")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime?>("StartTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
|
|
@ -17276,6 +17297,14 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.DicomStudy", "DicomStudy")
|
||||
.WithMany()
|
||||
.HasForeignKey("DicomStudyId");
|
||||
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.NoneDicomStudy", "NoneDicomStudy")
|
||||
.WithMany()
|
||||
.HasForeignKey("NoneDicomStudyId");
|
||||
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.Subject", "Subject")
|
||||
.WithMany()
|
||||
.HasForeignKey("SubjectId");
|
||||
|
|
@ -17290,6 +17319,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
|
||||
b.Navigation("CreateUserRole");
|
||||
|
||||
b.Navigation("DicomStudy");
|
||||
|
||||
b.Navigation("NoneDicomStudy");
|
||||
|
||||
b.Navigation("Subject");
|
||||
|
||||
b.Navigation("SubjectVisit");
|
||||
|
|
|
|||
Loading…
Reference in New Issue