forked from ddrilling/AsbCloudServer
Добавление радиуса цели в плановую траекторию
This commit is contained in:
parent
3ccab7b40a
commit
9530982794
8092
AsbCloudDb/Migrations/20230523065447_Add_RadiusTarget_To_PlannedTrajectory.Designer.cs
generated
Normal file
8092
AsbCloudDb/Migrations/20230523065447_Add_RadiusTarget_To_PlannedTrajectory.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,26 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace AsbCloudDb.Migrations
|
||||||
|
{
|
||||||
|
public partial class Add_RadiusTarget_To_PlannedTrajectory : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<double>(
|
||||||
|
name: "radius_target",
|
||||||
|
table: "t_planned_trajectory",
|
||||||
|
type: "double precision",
|
||||||
|
nullable: true,
|
||||||
|
comment: "Радиус цели");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "radius_target",
|
||||||
|
table: "t_planned_trajectory");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -2073,6 +2073,11 @@ namespace AsbCloudDb.Migrations
|
|||||||
.HasColumnName("orifice_offset")
|
.HasColumnName("orifice_offset")
|
||||||
.HasComment("Смещение от устья");
|
.HasComment("Смещение от устья");
|
||||||
|
|
||||||
|
b.Property<double?>("RadiusTarget")
|
||||||
|
.HasColumnType("double precision")
|
||||||
|
.HasColumnName("radius_target")
|
||||||
|
.HasComment("Радиус цели");
|
||||||
|
|
||||||
b.Property<double>("SpatialIntensity")
|
b.Property<double>("SpatialIntensity")
|
||||||
.HasColumnType("double precision")
|
.HasColumnType("double precision")
|
||||||
.HasColumnName("spatial_intensity")
|
.HasColumnName("spatial_intensity")
|
||||||
|
@ -65,6 +65,9 @@ namespace AsbCloudDb.Model
|
|||||||
[Column("comment"), Comment("Комментарии")]
|
[Column("comment"), Comment("Комментарии")]
|
||||||
public string? Comment { get; set; }
|
public string? Comment { get; set; }
|
||||||
|
|
||||||
|
[Column("radius_target"), Comment("Радиус цели")]
|
||||||
|
public double? RadiusTarget { get; set; }
|
||||||
|
|
||||||
[ForeignKey(nameof(IdWell))]
|
[ForeignKey(nameof(IdWell))]
|
||||||
public virtual Well Well { get; set; } = null!;
|
public virtual Well Well { get; set; } = null!;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user