Zxd.Core/code/Zxd.Domain/Dto/Resource/CheckUserDTO.cs

155 lines
4.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zxd.Domain.Dto.Resource
{
public class CheckUserDTO
{
public string Appid { get; set; }
public string Appuserid { get; set; }
}
public class CheckResidDTO
{
public string Resid { get; set; }
}
#region
public class UserPassInfo
{
public int? GroupId { get; set; }
public int? DeptId { get; set; }
public string? DeptName { get; set; }
public DateTime? OrderPassTime { get; set; }
public DateTime? ProtectTime { get; set; }
public DateTime? FirstPayTime { get; set; }
public decimal? ArrivePrice { get; set; }
public decimal? RefundPrice { get; set; }
public decimal? InCome { get; set; }
public bool? IsProtect { get; set; }
public decimal? BalancePay { get; set; }
}
#endregion
#region
public class resoucePassSetting
{
public List<int> deptids { get; set; } = new List<int> { 16, 29, 23, 36, 30 };
public int protectday { get; set; } = 30;
}
public class ResourcePassTime
{
/// <summary>
/// 最早注册时间
/// </summary>
public DateTime? Regtime { get; set; }
/// <summary>
/// 最早关注时间
/// </summary>
public DateTime? FirstFollowTime { get; set; }
/// <summary>
/// 仍在关注的最早事业部
/// </summary>
public DateTime? FollowTime { get; set; }
/// <summary>
/// 保护时间
/// </summary>
public DateTime? ProtectTime { get; set; }
/// <summary>
/// 事业部
/// </summary>
public int? DeptId { get; set; }
/// <summary>
/// 事业部名称
/// </summary>
public string? DeptName { get; set; }
/// <summary>
/// 是否保护
/// </summary>
public bool? IsProtect { get; set; } = false;
public int? channel { get; set; }
public string? content { get; set; }
}
public class ExternaluserModel
{
public string? externaluserid { get; set; }
public int? deptid { get; set; }
public DateTime? ctime { get; set; }
public DateTime? firsttime { get; set; }
public DateTime? unsubscribe_time { get; set; }
public int? subscribe { get; set; }
public int? campainid { get; set; }
public string? title { get; set; }
}
public class SoftPassModel
{
public int? deptid { get; set; }
public DateTime? ctime { get; set; }
public string? title { get; set; }
public int? campainid { get; set; }
}
#endregion
#region
public class SoftUserNameDetailModel
{
public List<OrderDetail> OrderInfo { get; set; } = new List<OrderDetail>();
public DateTime? MaxRootTime { get; set; }
public bool? canopen { get; set; }
}
public class OrderDetail
{
public decimal? OrderId { get; set; }
public string? ProductCode { get; set; }
public string? ProductName { get; set; }
public decimal? SzzyorderId { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public bool? IsFree { get; set; } = false;
public string Remark { get; set; }
}
public class UserModuleApiModel
{
public int ret { get; set; }
public string? message { get; set; }
public Dictionary<string, List<UserModuleModel>> moduelData { get; set; }
}
public class UserModuleModel
{
public string? orderid { get; set; }
public string? productid { get; set; }
public long? start { get; set; }
public long? end { get; set; }
}
public class ActiveProduct
{
public string ActiveProductCode { get; set; }
public string ActiveProductName { get; set; }
public string DonateDay { get; set; }
public long SzzyOrderId { get; set; }
}
#endregion
}