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.
122 lines
2.9 KiB
122 lines
2.9 KiB
using FreeSql.DatabaseModel;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Threading.Tasks;
|
|
using Newtonsoft.Json;
|
|
using FreeSql.DataAnnotations;
|
|
|
|
namespace BBWY.Server.Model.Db
|
|
{
|
|
|
|
[Table(Name = "promotiontask", DisableSyncStructure = true)]
|
|
public partial class PromotionTask
|
|
{
|
|
|
|
[Column(IsPrimary = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 活动名称
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string ActivityName { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
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>
|
|
[Column(StringLength = 50)]
|
|
public string MainProductSpu { get; set; }
|
|
|
|
/// <summary>
|
|
/// 奶妈模板Id 可空
|
|
/// </summary>
|
|
|
|
public long? MotherTemplateId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 促销活动Id
|
|
/// </summary>
|
|
|
|
public long? PromotionId { get; set; }
|
|
|
|
|
|
public long? ShopId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 精简标题
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string SimpleTitle { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务状态
|
|
/// </summary>
|
|
[Column(MapType = typeof(int?))]
|
|
public Enums.PromitionTaskStatus? Status { get; set; }
|
|
|
|
[Column(DbType = "bit")]
|
|
public bool IsEnabled { get; set; } = true;
|
|
|
|
public int Sort { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? UpdateSortTime { get; set; }
|
|
|
|
public string SpuLogo { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? SpuPublishTime { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
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; }
|
|
}
|
|
|
|
}
|
|
|