//------------------------------------------------------------------------------ // // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // Author:Yubao Li // //------------------------------------------------------------------------------ using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using OpenAuth.Repository.Core; namespace OpenAuth.App.Request { /// /// 定时任务 /// [Table("OpenJob")] public partial class AddOrUpdateOpenJobReq { /// /// Id /// public string Id { get; set; } /// /// 任务名称 /// public string JobName { get; set; } /// /// 任务执行方式0:本地任务;1:外部接口任务 /// public int JobType { get; set; } /// /// 任务地址 /// public string JobCall { get; set; } /// /// 任务参数,JSON格式 /// public string JobCallParams { get; set; } /// /// CRON表达式 /// public string Cron { get; set; } /// /// 任务运行状态(0:停止,1:正在运行,2:暂停) /// public int Status { get; set; } /// /// 备注 /// public string Remark { get; set; } } }