namespace ECMJobRunner.Application.Common.Dtos
{
///
/// Data Transfer Object for ProfileSqlJob entity
///
public class ProfileSqlJobDto
{
///
/// SQL Job ID
///
public long Id { get; set; }
///
/// Profile ID (foreign key)
///
public long ProfileId { get; set; }
///
/// Active / Inactive switch
///
public bool Active { get; set; }
///
/// Execution sequence order
///
public short Sequence { get; set; }
///
/// Job name
///
public string? Name { get; set; }
///
/// SQL query for pre-check validation
///
public string? SqlCheckQuery { get; set; }
///
/// Main SQL query to execute
///
public string? SqlMainQuery { get; set; }
///
/// API command to execute
///
public string? ApiCommand { get; set; }
///
/// Optional description
///
public string? Comment { get; set; }
}
}