You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
2.9 KiB
116 lines
2.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
using Win.Sfs.Shared.DomainBase;
|
|
|
|
namespace Win.Sfs.SettleAccount.Entities
|
|
{
|
|
public class TaskJob : FullAuditedAggregateRootBase<Guid>
|
|
{
|
|
public TaskJob() { }
|
|
|
|
|
|
public TaskJob(Guid id, string taskId, string name, string actionName, string error, string creator, string email, string fileName, string realFileName, string realDownFileName, string downFileName, string serviceName,string type,string remark) : base(id)
|
|
{
|
|
TaskId = taskId;
|
|
Name = name;
|
|
ActionName = actionName;
|
|
Error = error;
|
|
Creator = creator;
|
|
Email = email;
|
|
FileName = fileName;
|
|
RealFileName = realFileName;
|
|
RealDownFileName = realDownFileName;
|
|
DownFileName = downFileName;
|
|
ServiceName = serviceName;
|
|
Type = type;
|
|
Remark = remark;
|
|
}
|
|
|
|
|
|
public void SetError(string errorfileName)
|
|
{
|
|
Error = errorfileName;
|
|
}
|
|
public void SetDownFileName(string downfileName)
|
|
{
|
|
DownFileName = downfileName;
|
|
}
|
|
|
|
|
|
|
|
public string Type { set; get; }
|
|
|
|
public string State { set; get; }
|
|
public void ChangeTaskId(string taskid)
|
|
{
|
|
TaskId = taskid;
|
|
}
|
|
[Display(Name = "任务名称")]
|
|
[StringLength(50)]
|
|
|
|
public string TaskId { set; get; }
|
|
|
|
|
|
[Display(Name = "任务名称")]
|
|
[StringLength(50)]
|
|
|
|
public string Name { set; get; }
|
|
[Display(Name = "操作名称")]
|
|
[StringLength(50)]
|
|
|
|
public string ActionName { set; get; }
|
|
|
|
public string Error { set; get; }
|
|
[Display(Name="创建人")]
|
|
[StringLength(50)]
|
|
|
|
public string Creator{set;get;}
|
|
[Display(Name="电子邮件")]
|
|
[StringLength(50)]
|
|
|
|
public string Email { set; get; }
|
|
|
|
|
|
[Display(Name = "上传文件")]
|
|
[StringLength(200)]
|
|
|
|
public string FileName { set; get; }
|
|
|
|
|
|
/// <summary>
|
|
/// 真实上传文件名称(链接)
|
|
/// </summary>
|
|
[Display(Name = "真实上传文件")]
|
|
[StringLength(200)]
|
|
|
|
public string RealFileName { set; get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 真实下载文件名称(链接)
|
|
/// </summary>
|
|
[Display(Name = "真实下载文件")]
|
|
[StringLength(200)]
|
|
|
|
public string RealDownFileName { set; get; }
|
|
|
|
|
|
|
|
[Display(Name = "下载文件")]
|
|
[StringLength(200)]
|
|
|
|
public string DownFileName { set; get; }
|
|
|
|
|
|
[Display(Name = "执行服务")]
|
|
[StringLength(300)]
|
|
|
|
public string ServiceName { set; get; }
|
|
}
|
|
}
|
|
|