You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
982 B
C#
42 lines
982 B
C#
using DS.WMS.Core.Op.Entity;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.TaskInteraction.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 数据获取上下文
|
|
/// </summary>
|
|
public class DataFetchContext
|
|
{
|
|
/// <summary>
|
|
/// 主库访问对象
|
|
/// </summary>
|
|
public ISqlSugarClient Db { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 业务库访问对象
|
|
/// </summary>
|
|
public ISqlSugarClient TenantDb { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 业务ID
|
|
/// </summary>
|
|
public long? BusinessId { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 业务类型
|
|
/// </summary>
|
|
public BusinessType? BusinessType { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 配置内容
|
|
/// </summary>
|
|
public string? Content { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 数据对象
|
|
/// </summary>
|
|
public dynamic? Data { get; set; }
|
|
}
|
|
}
|