< Summary

Information
Class: LGDXRobotCloud.Data.Entities.FlowDetail
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/FlowDetail.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 33
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%210%
get_Order()100%210%
get_Progress()100%210%
get_ProgressId()100%210%
get_AutoTaskNextControllerId()100%210%
get_Trigger()100%210%
get_TriggerId()100%210%
get_Flow()100%210%
get_FlowId()100%210%

File(s)

/builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/FlowDetail.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3using Microsoft.EntityFrameworkCore;
 4
 5namespace LGDXRobotCloud.Data.Entities;
 6
 7[Table("Automation.FlowDetails")]
 8[Index(nameof(Order))]
 9public class FlowDetail
 10{
 11  [Key]
 12  [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 013  public int Id { get; set; }
 14
 015  public int Order { get; set; }
 16
 17  [ForeignKey("ProgressId")]
 018  public Progress Progress { get; set; } = null!;
 19
 020  public int ProgressId { get; set; }
 21
 022  public int AutoTaskNextControllerId { get; set; }
 23
 24  [ForeignKey("TriggerId")]
 025  public Trigger? Trigger { get; set; }
 26
 027  public int? TriggerId { get; set; }
 28
 29  [ForeignKey("FlowId")]
 030  public Flow Flow { get; set; } = null!;
 31
 032  public int FlowId { get; set; }
 33}