You've already forked onecmonitor
mirror of
https://github.com/akpaevj/onecmonitor.git
synced 2026-06-13 21:18:17 +02:00
27 lines
804 B
C#
27 lines
804 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace OneSwiss.Server.Models.MaintenanceTasks;
|
|
|
|
[Owned]
|
|
public class CopyInfoBaseStep
|
|
{
|
|
public Guid? SourceCredentialsId { get; set; }
|
|
|
|
[ForeignKey(nameof(SourceCredentialsId))]
|
|
public Credentials? SourceCredentials { get; set; }
|
|
|
|
public Guid? SourceInfoBaseId { get; set; }
|
|
|
|
[ForeignKey(nameof(SourceInfoBaseId))] public InfoBase? SourceInfoBase { get; set; }
|
|
|
|
public Guid? DestinationCredentialsId { get; set; }
|
|
|
|
[ForeignKey(nameof(DestinationCredentialsId))]
|
|
public Credentials? DestinationCredentials { get; set; }
|
|
|
|
public Guid? DestinationInfoBaseId { get; set; }
|
|
|
|
[ForeignKey(nameof(DestinationInfoBaseId))]
|
|
public InfoBase? DestinationInfoBase { get; set; }
|
|
} |