using SSCMS.Enums;

namespace SSCMS.Dto
{
    public class CreateTask
    {
        public CreateTask(int id, string name, CreateType createType, int siteId, int channelId, int contentId, int fileTemplateId, int specialId, int pageCount)
        {
            Id = id;
            Name = name;
            CreateType = createType;
            SiteId = siteId;
            ChannelId = channelId;
            ContentId = contentId;
            FileTemplateId = fileTemplateId;
            SpecialId = specialId;
            PageCount = pageCount;
            Executing = false;
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public CreateType CreateType { get; set; }
        public int SiteId { get; set; }
        public int ChannelId { get; set; }
        public int ContentId { get; set; }
        public int FileTemplateId { get; set; }
        public int SpecialId { get; set; }
        public int PageCount { get; set; }

        public bool Executing { get; set; }
    }
}
