1
0
mirror of https://github.com/akpaevj/onecmonitor.git synced 2026-06-17 22:34:48 +02:00
Files

17 lines
478 B
C#
Raw Permalink Normal View History

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace OneSwiss.Server.Models.MaintenanceTasks;
[Owned]
public class ExecuteOneScriptStep
{
public bool DebugMode { get; set; }
[Required(AllowEmptyStrings = true)] public string ExecutablePath { get; set; } = string.Empty;
public Guid? FileId { get; set; }
[ForeignKey(nameof(FileId))] public File? File { get; set; }
}