sw
This commit is contained in:
parent
ac58016589
commit
be9f79b738
7540
VOL.Core/Migrations/20250807033033_20250807v1.Designer.cs
generated
Normal file
7540
VOL.Core/Migrations/20250807033033_20250807v1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
35
VOL.Core/Migrations/20250807033033_20250807v1.cs
Normal file
35
VOL.Core/Migrations/20250807033033_20250807v1.cs
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace VOL.Core.Migrations
|
||||||
|
{
|
||||||
|
public partial class _20250807v1 : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "RedeemCode",
|
||||||
|
table: "Y_CurricularTaxonomy",
|
||||||
|
type: "nvarchar(1000)",
|
||||||
|
nullable: true,
|
||||||
|
comment: "兑换码");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "RedeemCode",
|
||||||
|
table: "Y_CurricularTaxonomy");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<int>(
|
||||||
|
name: "ClassroomStageId",
|
||||||
|
table: "Ai_ClassRoomRecord",
|
||||||
|
type: "int",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0,
|
||||||
|
comment: "阶段Id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -205,10 +205,6 @@ namespace VOL.Core.Migrations
|
|||||||
.HasColumnType("nvarchar(100)")
|
.HasColumnType("nvarchar(100)")
|
||||||
.HasComment("班级名称");
|
.HasComment("班级名称");
|
||||||
|
|
||||||
b.Property<int>("ClassroomStageId")
|
|
||||||
.HasColumnType("int")
|
|
||||||
.HasComment("阶段Id");
|
|
||||||
|
|
||||||
b.Property<string>("Code")
|
b.Property<string>("Code")
|
||||||
.HasColumnType("nvarchar(100)")
|
.HasColumnType("nvarchar(100)")
|
||||||
.HasComment("AI设备的唯一编码");
|
.HasComment("AI设备的唯一编码");
|
||||||
@ -6917,6 +6913,10 @@ namespace VOL.Core.Migrations
|
|||||||
.HasColumnType("datetime")
|
.HasColumnType("datetime")
|
||||||
.HasComment("修改时间");
|
.HasComment("修改时间");
|
||||||
|
|
||||||
|
b.Property<string>("RedeemCode")
|
||||||
|
.HasColumnType("nvarchar(1000)")
|
||||||
|
.HasComment("兑换码");
|
||||||
|
|
||||||
b.Property<string>("Remarks")
|
b.Property<string>("Remarks")
|
||||||
.HasColumnType("text")
|
.HasColumnType("text")
|
||||||
.HasComment("备注");
|
.HasComment("备注");
|
||||||
|
@ -44,6 +44,14 @@ namespace VOL.Entity.DomainModels.YD
|
|||||||
[Column(TypeName = "int)")]
|
[Column(TypeName = "int)")]
|
||||||
public int CurricularType { get; set; }
|
public int CurricularType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///兑换码
|
||||||
|
/// </summary>
|
||||||
|
[Display(Name = "兑换码")]
|
||||||
|
[Comment("兑换码")]
|
||||||
|
[Column(TypeName = "nvarchar(1000)")]
|
||||||
|
public string RedeemCode { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///创建人
|
///创建人
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user