using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.DjyServiceStatus
{
public class DjyServiceStatusDtos
{
}
///
/// 内嵌服务项目请求
///
public class EmbedServiceProjectDto
{
///
/// 业务主键
///
public string BusinessId { get; set; }
///
/// 服务项目代码
///
public string[] ProjectCodes { get; set; }
///
/// 状态操作类型 0-手工 1-自动
///
public int OpertType { get; set; }
}
///
/// 修改服务项目状态
///
public class EmbedServiceProjectStatusDto
{
///
/// 业务主键
///
public string businessId { get; set; }
///
/// 来源类型 0-人工 1-自动
///
public int SourceType { get; set; } = 0;
///
/// 服务项目状态明细
///
public List StatusCodes { get; set; }
}
public class EmbedServiceProjectStatusDetailDto
{
///
/// 状态代码
///
public string StatusCode { get; set; }
///
/// 人工设定状态完成时间
///
public Nullable SetActDate { get; set; }
///
/// 人工设定状态值(可传箱使天数)
///
public string SetActVal { get; set; }
///
/// 状态备注
///
public string ActRemark { get; set; }
}
public class EmbedQueryServiceProjectWithStatus
{
///
/// 业务主键(可为空,不为空时需要查询已触发的记录和未触发的记录,为空时只查询已启用的)
///
public string BusinessId { get; set; }
///
/// 0-查服务项目 1-查服务项目下的状态
///
public int QueryType { get; set; }
///
/// 服务项目代码组
///
public string[] ProjectCodes { get; set; }
///
/// 租户ID
///
public long TenantId { get; set; }
}
public class EmbedServiceProjectStatusResultDto
{
///
/// 状态主键
///
public string SkuPKId { get; set; }
///
/// 活动主键
///
public string ActPKId { get; set; }
///
/// 活动显示顺序号
///
public int ActSortNo { get; set; }
///
/// 状态代码
///
public string StatusSKUCode { get; set; }
///
/// 状态名称
///
public string StatusSKUName { get; set; }
///
/// 显示颜色(背景色)
///
public string BackgroundColor { get; set; }
///
/// 显示名称
///
public string ShowName { get; set; }
///
/// 流程主键
///
public string WFPKId { get; set; }
///
/// 父活动主键
///
public string ParentActPKId { get; set; }
///
/// 显示顺序号
///
public int SortNo { get; set; }
///
/// 是否有子状态 true-有子状态 false-没有子状态
///
public bool HasChild { get; set; } = false;
///
/// 是否已完成
///
public bool IsYield { get; set; }
///
/// 完成时间
///
public Nullable ActDate { get; set; }
///
/// 状态值
///
public string ActVal { get; set; }
///
/// 备注
///
public string ActRemark { get; set; }
///
/// 子状态列表
///
public List SubStatusList { get; set; }
///
/// 触发器列表
///
public List TriggerList { get; set; }
///
/// 分组名称
///
public string GroupName { get; set; }
///
/// 服务流程排序值
///
public int WFSortNo { get; set; }
///
/// 计算排序值
///
public decimal CalcSortNo { get; set; }
///
/// 是否结束
///
public bool IsEnd { get; set; }
///
/// 业务系统代码
///
public string BusiSystemCode { get; set; }
///
/// 业务主键
///
public string BusiId { get; set; }
}
}