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.
183 lines
4.8 KiB
183 lines
4.8 KiB
using FreeSql.DataAnnotations;
|
|
|
|
namespace SBF.Model.Db
|
|
{
|
|
|
|
[Table(Name = "sbf_trusteeshiptask", DisableSyncStructure = true)]
|
|
public partial class Sbf_TrusteeshipTask
|
|
{
|
|
|
|
[Column(DbType = "bigint", IsPrimary = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 托管期间SPU营业额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? ActualAmountInTrusteeship { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单元Id
|
|
/// </summary>
|
|
[Column(DbType = "bigint")]
|
|
public long? AdGroupId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单元名称
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string AdGroupName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创意Id
|
|
/// </summary>
|
|
[Column(DbType = "bigint")]
|
|
public long? AdId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创意名称
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string AdName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 出价
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? BidPrice { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 锚定预算
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? AnchorBudget { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 实际预算
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? ActualBudget { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 业务类型/渠道 快车=2,智能投放=134217728
|
|
/// </summary>
|
|
[Column(DbType = "int")]
|
|
public int? BusinessType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 计划名称
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string CampaginName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 计划Id
|
|
/// </summary>
|
|
[Column(DbType = "bigint")]
|
|
public long? CampaignId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 托管期间总花费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? CostInTrusteeship { get; set; }
|
|
|
|
/// <summary>
|
|
/// 托管任务创建时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 托管结束时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否结束托管
|
|
/// </summary>
|
|
public bool? IsEnd { get; set; } = false;
|
|
|
|
[Column(DbType = "bigint")]
|
|
public long? ShopId { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string SkuId { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string SpuId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开始纳入托管时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? StartTrusteeshipDate { get; set; }
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
public Enums.PolicyType? PolicyType { get; set; } = Enums.PolicyType.成长期策略包;
|
|
|
|
/// <summary>
|
|
/// 是否有效
|
|
/// </summary>
|
|
public bool? IsEnabled { get; set; } = true;
|
|
|
|
#region Product
|
|
[Column(IsIgnore = true)]
|
|
public DateTime? ProductCreateTime { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public Enums.Platform Platform { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public string ProductItemNum { get; set; }
|
|
|
|
|
|
[Column(IsIgnore = true)]
|
|
public string ProductTitle { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public string MainSkuId { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public int? ProductState { get; set; }
|
|
|
|
|
|
[Column(IsIgnore = true)]
|
|
public Enums.Stage? Stage { get; set; } = 0;
|
|
#endregion
|
|
|
|
#region ProductSku
|
|
[Column(IsIgnore = true)]
|
|
public string Logo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 售价
|
|
/// </summary>
|
|
[Column(IsIgnore = true)]
|
|
public decimal? Price { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public string SkuTitle { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public int? SkuState { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public int? CategoryId { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public string CategoryName { get; set; }
|
|
|
|
[Column(IsIgnore = true)]
|
|
public DateTime? SkuCreateTime { get; set; }
|
|
#endregion
|
|
}
|
|
|
|
}
|
|
|