using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZmajService.Models.BatchJob { public class BatchJobViewModel { public int Id { get; set; } public string Name { get; set; } public string Describe { get; set; } public string JobKey { get; set; } /// /// 当前batchjob状态 /// public bool JobState { get; set; } public string JobSleepTime { get; set; } /// /// 上次启动时间 Unix时间戳 /// public int? StartTime { get; set; } /// /// 上次停止时间 Unix时间戳 /// public int? StopTime { get; set; } /// /// 运行周期:天 /// 为0则没有周期,后台不停运行 /// public int RunningCycleDay { get; set; } public bool IsActive { get; set; } public string CreateUid { get; set; } public int CreateTime { get; set; } public bool IsDayJob { get; set; } } }