|
@ -1,11 +1,113 @@ |
|
|
using BBWY.Server.Model.Db; |
|
|
using BBWY.Server.Model.Db; |
|
|
|
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
|
namespace BBWY.Server.Model.Dto |
|
|
namespace BBWY.Server.Model.Dto |
|
|
{ |
|
|
{ |
|
|
public class PromotionTaskItemResponse: PromotionTask |
|
|
public class PromotionTaskItemResponse |
|
|
{ |
|
|
{ |
|
|
|
|
|
public long Id { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 活动名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string ActivityName { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CreateTime { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 完整标题
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public string FullTitle { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 赠品模板Id 可空
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public long? GiftTemplateId { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 主商品的赠品sku,逗号间隔,可空
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public string MainProductGiftSku { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 主商品sku,逗号间隔,可空
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public string MainProductSku { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 主商品spu
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string MainProductSpu { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 奶妈模板Id 可空
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public long? MotherTemplateId { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 奶妈模板关联的Sku
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string MotherTemplateSku { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 促销活动Id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public long? PromotionId { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public long? ShopId { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 精简标题
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string SimpleTitle { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 任务状态
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Enums.PromitionTaskStatus? Status { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public bool IsEnabled { get; set; } = true; |
|
|
|
|
|
|
|
|
|
|
|
public int Sort { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public DateTime? UpdateSortTime { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public string SpuLogo { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public DateTime? SpuPublishTime { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 任务开始时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime? StartTime { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 任务结束时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime? EndTime { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 自定义奶妈sku
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string CustomMotherSku { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 任务数量
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int TaskCount { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 已完成任务量
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int CompletedTaskCount { get; set; } |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public class PromotionTaskResponse |
|
|
public class PromotionTaskResponse |
|
|