Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ScheduleTaskModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Tasks;

/// 
/// Represents a schedule task model
/// 
public partial record ScheduleTaskModel : BaseNopEntityModel
{
    #region Properties

    [NopResourceDisplayName("Admin.System.ScheduleTasks.Name")]
    public string Name { get; set; }

    [NopResourceDisplayName("Admin.System.ScheduleTasks.Seconds")]
    public int Seconds { get; set; }

    [NopResourceDisplayName("Admin.System.ScheduleTasks.Enabled")]
    public bool Enabled { get; set; }

    [NopResourceDisplayName("Admin.System.ScheduleTasks.StopOnError")]
    public bool StopOnError { get; set; }

    [NopResourceDisplayName("Admin.System.ScheduleTasks.LastStart")]
    public string LastStartUtc { get; set; }

    [NopResourceDisplayName("Admin.System.ScheduleTasks.LastEnd")]
    public string LastEndUtc { get; set; }

    [NopResourceDisplayName("Admin.System.ScheduleTasks.LastSuccess")]
    public string LastSuccessUtc { get; set; }

    #endregion
}