< Summary

Information
Class: LGDXRobotCloud.Data.Entities.TriggerRetry
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/TriggerRetry.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 7
Coverable lines: 7
Total lines: 29
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_Trigger()100%210%
get_TriggerId()100%210%
get_AutoTask()100%210%
get_AutoTaskId()100%210%
get_Body()100%210%
get_CreatedAt()100%210%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3using Microsoft.EntityFrameworkCore;
 4
 5namespace LGDXRobotCloud.Data.Entities;
 6
 7[Table("Automation.TriggerRetries")]
 8public class TriggerRetry
 9{
 10  [Key]
 11  [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 012  public int Id { get; set; }
 13
 14  [ForeignKey("TriggerId")]
 015  public Trigger Trigger { get; set; } = null!;
 16
 017  public int TriggerId { get; set; }
 18
 19  [ForeignKey("AutoTaskId")]
 020  public AutoTask AutoTask { get; set; } = null!;
 21
 022  public int AutoTaskId { get; set; }
 23
 24  [Column(TypeName = "TEXT")]
 025  public string Body { get; set; } = null!;
 26
 27  [Precision(3)]
 028  public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
 29}