using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 自定义实时任务
///
[SugarTable("custom_real_job")]
public class CustomRealJob : BaseTraceEntity, System.ICloneable, IUseStatus
{
///
///
///
public CustomRealJob() { }
///
///
///
public CustomRealJob(CustomRealJob rhs) : base(rhs)
{
this.NO = rhs.NO;
this.Name = rhs.Name;
this.Interval = rhs.Interval;
this.Repeat = rhs.Repeat;
this.Execution = rhs.Execution;
this.UseStatus = rhs.UseStatus;
this.Description= rhs.Description;
}
///
/// 编号
///
public string NO { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 间隔 (秒数)
///
public int Interval { get; set; }
///
/// 重置 (分钟)
///
public int Repeat { get; set; }
///
/// 执行文件
///
public string Execution { get; set; }
///
/// 使用状态
///
public int UseStatus { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public CustomRealJob Clone()
{
return (CustomRealJob)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}