修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
56170b73ed
commit
f471ce1535
|
@ -73,7 +73,7 @@ public class TrialFileTypeAddOrEdit
|
||||||
|
|
||||||
public ArchiveType ArchiveTypeEnum { get; set; }
|
public ArchiveType ArchiveTypeEnum { get; set; }
|
||||||
|
|
||||||
public DateOnly FirstFinalDate { get; set; }
|
public DateOnly? FirstFinalDate { get; set; }
|
||||||
|
|
||||||
public bool IsConfirmRecord { get; set; }
|
public bool IsConfirmRecord { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ public class TrialFileType : BaseFullAuditEntity
|
||||||
public bool IsConfirmRecord { get; set; }
|
public bool IsConfirmRecord { get; set; }
|
||||||
|
|
||||||
[Comment("首次定稿日期")]
|
[Comment("首次定稿日期")]
|
||||||
public DateOnly FirstFinalDate { get; set; }
|
public DateOnly? FirstFinalDate { get; set; }
|
||||||
|
|
||||||
[Comment("是否自定义")]
|
[Comment("是否自定义")]
|
||||||
public bool IsSelfDefine { get; set; }
|
public bool IsSelfDefine { get; set; }
|
||||||
|
|
19049
IRaCIS.Core.Infra.EFCore/Migrations/20250226053630_DateOnlytime.Designer.cs
generated
Normal file
19049
IRaCIS.Core.Infra.EFCore/Migrations/20250226053630_DateOnlytime.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,41 @@
|
||||||
|
using System;
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class DateOnlytime : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<DateOnly>(
|
||||||
|
name: "FirstFinalDate",
|
||||||
|
table: "TrialFileType",
|
||||||
|
type: "date",
|
||||||
|
nullable: true,
|
||||||
|
comment: "首次定稿日期",
|
||||||
|
oldClrType: typeof(DateOnly),
|
||||||
|
oldType: "date",
|
||||||
|
oldComment: "首次定稿日期");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<DateOnly>(
|
||||||
|
name: "FirstFinalDate",
|
||||||
|
table: "TrialFileType",
|
||||||
|
type: "date",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: new DateOnly(1, 1, 1),
|
||||||
|
comment: "首次定稿日期",
|
||||||
|
oldClrType: typeof(DateOnly),
|
||||||
|
oldType: "date",
|
||||||
|
oldNullable: true,
|
||||||
|
oldComment: "首次定稿日期");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -11938,7 +11938,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Property<Guid>("CreateUserId")
|
b.Property<Guid>("CreateUserId")
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<DateOnly>("FirstFinalDate")
|
b.Property<DateOnly?>("FirstFinalDate")
|
||||||
.HasColumnType("date")
|
.HasColumnType("date")
|
||||||
.HasComment("首次定稿日期");
|
.HasComment("首次定稿日期");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue