Compare commits

...

2 Commits

Author SHA1 Message Date
hang c9590829b2 Merge branch 'Test_HIR_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_HIR_Net8
continuous-integration/drone/push Build is passing Details
2025-03-28 09:54:59 +08:00
hang 80805bde06 增加默认字段 2025-03-28 09:54:57 +08:00
4 changed files with 18809 additions and 0 deletions

View File

@ -87,7 +87,11 @@ public class User : BaseFullAuditEntity
public Guid UserTypeId { get; set; }
#region HIR
public string CheckCode { get; set; } = string.Empty;
//目前是tj医院
public string ThirdUserCode { get; set; } = string.Empty;
#endregion
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class tjAddUserCode : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ThirdUserCode",
table: "User",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ThirdUserCode",
table: "User");
}
}
}

View File

@ -13148,6 +13148,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("SuperAdmin")
.HasColumnType("bit");
b.Property<string>("ThirdUserCode")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("UpdateTime")
.HasColumnType("datetime2");