Compare commits
No commits in common. "1e4044488d1cb3aaa471d93a6feece9d778da4af" and "c37b6c4c841047a8addba2974ec5b50bc681cbc7" have entirely different histories.
1e4044488d
...
c37b6c4c84
|
@ -24,8 +24,6 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public string FileFormat { get; set; }
|
public string FileFormat { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
public string FileName { get; set; }
|
public string FileName { get; set; }
|
||||||
|
|
||||||
public string FilePath { get; set; }
|
public string FilePath { get; set; }
|
||||||
|
|
|
@ -56,8 +56,6 @@ public class SystemDocumentAttachment : BaseFullAuditEntity
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid SystemDocumentId { get; set; }
|
public Guid SystemDocumentId { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文件名称
|
/// 文件名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,51 +0,0 @@
|
||||||
using Microsoft.EntityFrameworkCore.Migrations;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
public partial class fimeNmae : Migration
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.AddColumn<string>(
|
|
||||||
name: "Name",
|
|
||||||
table: "SystemDocumentAttachment",
|
|
||||||
type: "nvarchar(400)",
|
|
||||||
maxLength: 400,
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: "");
|
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
|
||||||
name: "IX_SystemDocumentAttachment_SystemDocumentId",
|
|
||||||
table: "SystemDocumentAttachment",
|
|
||||||
column: "SystemDocumentId");
|
|
||||||
|
|
||||||
migrationBuilder.AddForeignKey(
|
|
||||||
name: "FK_SystemDocumentAttachment_SystemDocument_SystemDocumentId",
|
|
||||||
table: "SystemDocumentAttachment",
|
|
||||||
column: "SystemDocumentId",
|
|
||||||
principalTable: "SystemDocument",
|
|
||||||
principalColumn: "Id",
|
|
||||||
onDelete: ReferentialAction.Cascade);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.DropForeignKey(
|
|
||||||
name: "FK_SystemDocumentAttachment_SystemDocument_SystemDocumentId",
|
|
||||||
table: "SystemDocumentAttachment");
|
|
||||||
|
|
||||||
migrationBuilder.DropIndex(
|
|
||||||
name: "IX_SystemDocumentAttachment_SystemDocumentId",
|
|
||||||
table: "SystemDocumentAttachment");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "Name",
|
|
||||||
table: "SystemDocumentAttachment");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -17,7 +17,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
{
|
{
|
||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
modelBuilder
|
modelBuilder
|
||||||
.HasAnnotation("ProductVersion", "8.0.15")
|
.HasAnnotation("ProductVersion", "8.0.14")
|
||||||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||||||
|
|
||||||
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||||||
|
@ -9730,11 +9730,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasPrecision(18, 2)
|
.HasPrecision(18, 2)
|
||||||
.HasColumnType("decimal(18,2)");
|
.HasColumnType("decimal(18,2)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
|
||||||
.IsRequired()
|
|
||||||
.HasMaxLength(400)
|
|
||||||
.HasColumnType("nvarchar(400)");
|
|
||||||
|
|
||||||
b.Property<bool>("OffLine")
|
b.Property<bool>("OffLine")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
|
@ -9751,8 +9746,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
|
||||||
b.HasIndex("CreateUserId");
|
b.HasIndex("CreateUserId");
|
||||||
|
|
||||||
b.HasIndex("SystemDocumentId");
|
|
||||||
|
|
||||||
b.ToTable("SystemDocumentAttachment", t =>
|
b.ToTable("SystemDocumentAttachment", t =>
|
||||||
{
|
{
|
||||||
t.HasComment("后台 - 系统签署文档附件");
|
t.HasComment("后台 - 系统签署文档附件");
|
||||||
|
@ -17346,15 +17339,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
.IsRequired();
|
.IsRequired();
|
||||||
|
|
||||||
b.HasOne("IRaCIS.Core.Domain.Models.SystemDocument", "SystemDocument")
|
|
||||||
.WithMany("SystemDocumentAttachmentList")
|
|
||||||
.HasForeignKey("SystemDocumentId")
|
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
|
||||||
.IsRequired();
|
|
||||||
|
|
||||||
b.Navigation("CreateUserRole");
|
b.Navigation("CreateUserRole");
|
||||||
|
|
||||||
b.Navigation("SystemDocument");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.SystemNotice", b =>
|
modelBuilder.Entity("IRaCIS.Core.Domain.Models.SystemNotice", b =>
|
||||||
|
@ -19247,8 +19232,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Navigation("NeedConfirmedUserTypeList");
|
b.Navigation("NeedConfirmedUserTypeList");
|
||||||
|
|
||||||
b.Navigation("SystemDocConfirmedUserList");
|
b.Navigation("SystemDocConfirmedUserList");
|
||||||
|
|
||||||
b.Navigation("SystemDocumentAttachmentList");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.SystemNotice", b =>
|
modelBuilder.Entity("IRaCIS.Core.Domain.Models.SystemNotice", b =>
|
||||||
|
|
Loading…
Reference in New Issue