#186 adding Result field to PoemCorrections
This commit is contained in:
parent
3fecaa8db1
commit
ab3b7727c5
2813
RMuseum/Migrations/20210729155712_GanjoorPoemCorrection-ResultField.Designer.cs
generated
Normal file
2813
RMuseum/Migrations/20210729155712_GanjoorPoemCorrection-ResultField.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
public partial class GanjoorPoemCorrectionResultField : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Result",
|
||||
table: "GanjoorPoemCorrections",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Result",
|
||||
table: "GanjoorPoemCorrections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -795,6 +795,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<int>("PoemId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Result")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime>("ReviewDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
|
||||
@ -98,6 +98,11 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// application order for poem
|
||||
/// </summary>
|
||||
public int ApplicationOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// review result for title and rhythm
|
||||
/// </summary>
|
||||
public CorrectionReviewResult Result { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -145,6 +150,7 @@ namespace RMuseum.Models.Ganjoor
|
||||
NoChanged = 2,
|
||||
RejectedBecauseWrong = 3,
|
||||
RejectedBecauseVariant = 4,
|
||||
Rejected = 5
|
||||
RejectedBecauseUnnecessaryChange = 5,
|
||||
Rejected = 6
|
||||
}
|
||||
}
|
||||
|
||||
@ -4844,6 +4844,11 @@
|
||||
application order for poem
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoemCorrection.Result">
|
||||
<summary>
|
||||
review result for title and rhythm
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorVerseVOrderText">
|
||||
<summary>
|
||||
Verse Vorder / Text
|
||||
|
||||
Loading…
Reference in New Issue
Block a user