修改
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-03-17 16:30:27 +08:00
parent 6306c6752a
commit ae38c84ef7
4 changed files with 19210 additions and 1 deletions

View File

@ -3,7 +3,7 @@ namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 简历|证书 文档表")]
[Table("Attachment")]
public class Attachment : BaseAddAuditEntity
public class Attachment : BaseFullAuditEntity
{
[JsonIgnore]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,41 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class updateTime : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "UpdateTime",
table: "Attachment",
type: "datetime2",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
migrationBuilder.AddColumn<Guid>(
name: "UpdateUserId",
table: "Attachment",
type: "uniqueidentifier",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "UpdateTime",
table: "Attachment");
migrationBuilder.DropColumn(
name: "UpdateUserId",
table: "Attachment");
}
}
}

View File

@ -76,6 +76,12 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)")
.HasComment("文件类型名");
b.Property<DateTime>("UpdateTime")
.HasColumnType("datetime2");
b.Property<Guid>("UpdateUserId")
.HasColumnType("uniqueidentifier");
b.HasKey("Id");
b.HasIndex("CreateUserId");