添加字段
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
56cbe08f39
commit
02a1ffe8b7
|
|
@ -17750,6 +17750,11 @@
|
|||
任务类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.SegmentAddOrEdit.SegmentJson">
|
||||
<summary>
|
||||
分割的Json
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:IRaCIS.Core.Application.ViewModel.UserWLTemplateView">
|
||||
<summary> UserWLTemplateView 列表视图模型 </summary>
|
||||
</member>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@
|
|||
// 生成时间 2026-03-10 05:44:27Z
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace IRaCIS.Core.Application.ViewModel;
|
||||
|
||||
public class SegmentView : SegmentAddOrEdit
|
||||
|
|
@ -54,6 +55,11 @@ public class SegmentAddOrEdit
|
|||
public decimal? Volume { get; set; }
|
||||
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分割的Json
|
||||
/// </summary>
|
||||
public string SegmentJson { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class SegmentQuery:PageInput
|
||||
|
|
|
|||
|
|
@ -32,6 +32,12 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// </summary>
|
||||
public int SegmentMumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分割的Json
|
||||
/// </summary>
|
||||
[MaxLength]
|
||||
public string SegmentJson { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// SegmentName
|
||||
/// </summary>
|
||||
|
|
|
|||
21916
IRaCIS.Core.Infra.EFCore/Migrations/20260316015500_Segmentat2.Designer.cs
generated
Normal file
21916
IRaCIS.Core.Infra.EFCore/Migrations/20260316015500_Segmentat2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,29 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Segmentat2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "SegmentJson",
|
||||
table: "Segment",
|
||||
type: "nvarchar(max)",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SegmentJson",
|
||||
table: "Segment");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9260,6 +9260,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasPrecision(18, 2)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.Property<string>("SegmentJson")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("SegmentMumber")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue