
//--------------------------------------------------------------------
//     此代码由liquid模板自动生成  byzhouhang 20240909
//	   生成时间 2026-03-10 05:44:27Z 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Domain.Share;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Application.ViewModel;

public class SegmentView : SegmentAddOrEdit
{
    /// <summary>
    /// 是否锁定
    /// </summary>
    public bool IsLock { get; set; } = false;
    public DateTime CreateTime { get; set; }
    
    public DateTime UpdateTime { get; set; }
    
}


public class SegmentAddOrEdit
{
    public Guid? Id { get; set; }
    
    public decimal? AvgValue { get; set; }
    
    public string ColorRgb { get; set; }
    
    public decimal? MTV { get; set; }
    
    public decimal? MajorAxis { get; set; }
    
    public decimal? MaxValue { get; set; }
    
    public decimal? Median { get; set; }
    
    public decimal? MinValue { get; set; }
    
    public decimal? Peak { get; set; }
    
    public int SegmentNumber { get; set; }
    
    public string SegmentName { get; set; }
    
    public Guid SegmentationId { get; set; }
    
    public decimal? ShortAxis { get; set; }
    
    public decimal? TLG { get; set; }
    
    public decimal? Variance { get; set; }
    
    public decimal? Volume { get; set; }

    public Guid VisitTaskId { get; set; }

    /// <summary>
    /// 分割的Json
    /// </summary>
    public string SegmentJson { get; set; } = string.Empty;
}

public class SegmentQuery:PageInput
{
    public decimal?  AvgValue { get; set; }
    
    public string? ColorRgb { get; set; }
    
    public decimal?  MTV { get; set; }
    
    public decimal?  MajorAxis { get; set; }
    
    public decimal?  MaxValue { get; set; }
    
    public decimal?  Median { get; set; }
    
    public decimal?  MinValue { get; set; }
    
    public decimal?  Peak { get; set; }
    
    public int? SegmentNumber { get; set; }
    
    public string? SegmentName { get; set; }
    
    public Guid? SegmentationId { get; set; }

    public Guid? Id { get; set; }


    public Guid? VisitTaskId { get; set; }

    public decimal?  ShortAxis { get; set; }
    
    public decimal?  TLG { get; set; }
    
    public decimal?  Variance { get; set; }
    
    public decimal?  Volume { get; set; }
    }




