Compare commits
No commits in common. "6b049e68cd6200735ad275d33af7cd0b8dce939b" and "8efc254f3ca066b58a27121439d1469cb33edfca" have entirely different histories.
6b049e68cd
...
8efc254f3c
|
|
@ -44,7 +44,7 @@ public class TrialTrianingRecordAddOrEdit
|
||||||
|
|
||||||
public int? TrianingCount { get; set; }
|
public int? TrianingCount { get; set; }
|
||||||
|
|
||||||
public DateOnly? TrianingDate { get; set; }
|
public DateOnly TrianingDate { get; set; }
|
||||||
|
|
||||||
public int? TrianingState { get; set; }
|
public int? TrianingState { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ public class TrialTrianingRecord : BaseFullAuditEntity
|
||||||
public Guid TrialFileTypeId { get; set; }
|
public Guid TrialFileTypeId { get; set; }
|
||||||
|
|
||||||
#region 培训记录相关字段
|
#region 培训记录相关字段
|
||||||
public DateOnly? TrianingDate { get; set; }
|
public DateOnly TrianingDate { get; set; }
|
||||||
|
|
||||||
public int? TrianingCount { get; set; }
|
public int? TrianingCount { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,37 +0,0 @@
|
||||||
using System;
|
|
||||||
using Microsoft.EntityFrameworkCore.Migrations;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
public partial class trialDateOnly : Migration
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.AlterColumn<DateOnly>(
|
|
||||||
name: "TrianingDate",
|
|
||||||
table: "TrialTrianingRecord",
|
|
||||||
type: "date",
|
|
||||||
nullable: true,
|
|
||||||
oldClrType: typeof(DateOnly),
|
|
||||||
oldType: "date");
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.AlterColumn<DateOnly>(
|
|
||||||
name: "TrianingDate",
|
|
||||||
table: "TrialTrianingRecord",
|
|
||||||
type: "date",
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: new DateOnly(1, 1, 1),
|
|
||||||
oldClrType: typeof(DateOnly),
|
|
||||||
oldType: "date",
|
|
||||||
oldNullable: true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -13175,7 +13175,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Property<int?>("TrianingCount")
|
b.Property<int?>("TrianingCount")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<DateOnly?>("TrianingDate")
|
b.Property<DateOnly>("TrianingDate")
|
||||||
.HasColumnType("date");
|
.HasColumnType("date");
|
||||||
|
|
||||||
b.Property<int?>("TrianingState")
|
b.Property<int?>("TrianingState")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue