You've already forked onecmonitor
mirror of
https://github.com/akpaevj/onecmonitor.git
synced 2026-06-15 21:32:34 +02:00
17 lines
478 B
C#
17 lines
478 B
C#
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; }
|
|
} |