三级安全教育卡 培训内容 字段长度 300 => 500
This commit is contained in:
parent
5f42374fb1
commit
eff9e35b6e
137966
APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs
generated
Normal file
137966
APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,35 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class wyw2026031901 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "NAME",
|
||||
table: "T_SE_THREE_LEVEL_SAFE_CONTENT",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(300)",
|
||||
oldMaxLength: 300,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "NAME",
|
||||
table: "T_SE_THREE_LEVEL_SAFE_CONTENT",
|
||||
type: "nvarchar(300)",
|
||||
maxLength: 300,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(500)",
|
||||
oldMaxLength: 500,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -44538,8 +44538,8 @@ namespace APT.Data.Migrations.Migrations
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("DealMeasuresStr")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("nvarchar(500)");
|
||||
.HasMaxLength(2000)
|
||||
.HasColumnType("nvarchar(2000)");
|
||||
|
||||
b.Property<int>("ENTITY_ORG_TPYE")
|
||||
.HasColumnType("int");
|
||||
@ -44602,12 +44602,12 @@ namespace APT.Data.Migrations.Migrations
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("SafeConfirmsStr")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("nvarchar(500)");
|
||||
.HasMaxLength(2000)
|
||||
.HasColumnType("nvarchar(2000)");
|
||||
|
||||
b.Property<string>("SafeMeasuresStr")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("nvarchar(500)");
|
||||
.HasMaxLength(2000)
|
||||
.HasColumnType("nvarchar(2000)");
|
||||
|
||||
b.Property<int>("TASK_LEVEL")
|
||||
.HasColumnType("int");
|
||||
@ -73805,8 +73805,8 @@ namespace APT.Data.Migrations.Migrations
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("NAME")
|
||||
.HasMaxLength(300)
|
||||
.HasColumnType("nvarchar(300)");
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("nvarchar(500)");
|
||||
|
||||
b.Property<Guid?>("ORG_ID")
|
||||
.IsRequired()
|
||||
|
||||
@ -10968,7 +10968,7 @@ builder.HasOne(t => t.Nav_Post).WithMany().HasForeignKey(t => t.POST_ID).OnDelet
|
||||
public override void Configure(EntityTypeBuilder<T_SE_THREE_LEVEL_SAFE_CONTENT> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(300);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
builder.HasIndex("NAME").IsUnique();
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@ namespace APT.MS.Domain.Entities.SE
|
||||
/// 培训内容
|
||||
/// </summary>
|
||||
[Description("培训内容")]
|
||||
[DataFieldLength(300)]
|
||||
[DataFieldLength(500)]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user