Browse Source

增加聚合类

GOIAggregation
shanji 2 years ago
parent
commit
2618f75088
  1. 111
      SiNan.Model/Db/GOI/AggregationJDPopularizeAdSku.cs
  2. 72
      SiNan.Model/Db/GOI/AggregationJDPopularizeAdSkuDaily.cs
  3. 89
      SiNan.Model/Db/GOI/Aggregationjdpopularizeadgroup.cs
  4. 57
      SiNan.Model/Db/GOI/Aggregationjdpopularizeadgroupdaily.cs
  5. 90
      SiNan.Model/Db/GOI/Aggregationjdpopularizecampaign.cs
  6. 57
      SiNan.Model/Db/GOI/Aggregationjdpopularizecampaigndaily.cs
  7. 119
      SiNan.Model/Db/GOI/Aggregationjdpopularizesku.cs
  8. 66
      SiNan.Model/Db/GOI/Aggregationjdpopularizeskudaily.cs
  9. 116
      SiNan.Model/Db/GOI/Aggregationjdpopularizespu.cs
  10. 59
      SiNan.Model/Db/GOI/Aggregationjdpopularizespudaily.cs

111
SiNan.Model/Db/GOI/AggregationJDPopularizeAdSku.cs

@ -0,0 +1,111 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizeadsku", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeAdSku
{
/// <summary>
/// 聚合Id
/// </summary>
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 单元Id
/// </summary>
[Column(DbType = "bigint")]
public long? AdGroupId { get; set; }
/// <summary>
/// 创意Id
/// </summary>
[Column(DbType = "bigint")]
public long? AdId { get; set; }
public string AdName { get; set; }
/// <summary>
/// 业务线(快车:2 京速推:134217728)
/// </summary>
[Column(DbType = "int")]
public int? BusinessType { get; set; }
/// <summary>
/// 计划Id
/// </summary>
[Column(DbType = "bigint")]
public long? CampaignId { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 近30天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dCost { get; set; }
/// <summary>
/// 近30天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近30天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近7天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dCost { get; set; }
/// <summary>
/// 近7天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近7天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(StringLength = 50)]
public string SkuId { get; set; }
[Column(DbType = "datetime")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 昨天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayCost { get; set; }
/// <summary>
/// 昨天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelGOI { get; set; }
/// <summary>
/// 昨天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelProfit { get; set; }
}
}

72
SiNan.Model/Db/GOI/AggregationJDPopularizeAdSkuDaily.cs

@ -0,0 +1,72 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizeadskudaily", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeAdSkuDaily
{
/// <summary>
/// 聚合Id
/// </summary>
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 单元Id
/// </summary>
[Column(DbType = "bigint")]
public long? AdGroupId { get; set; }
[Column(DbType = "bigint")]
public long? AdId { get; set; }
public string AdName { get; set; }
/// <summary>
/// 业务线(快车:2 京速推:134217728)
/// </summary>
[Column(DbType = "int")]
public int? BusinessType { get; set; }
/// <summary>
/// 计划Id
/// </summary>
[Column(DbType = "bigint")]
public long? CampaignId { get; set; }
/// <summary>
/// 推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Cost { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "datetime")]
public DateTime? Date { get; set; }
/// <summary>
/// 推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelGOI { get; set; }
/// <summary>
/// 推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(StringLength = 50)]
public string SkuId { get; set; }
}
}

89
SiNan.Model/Db/GOI/Aggregationjdpopularizeadgroup.cs

@ -0,0 +1,89 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizeadgroup", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeAdGroup
{
/// <summary>
/// 单元Id
/// </summary>
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
public string AdGroupName { get; set; }
/// <summary>
/// 计划Id
/// </summary>
[Column(DbType = "bigint")]
public long? CampaignId { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 近30天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dCost { get; set; }
/// <summary>
/// 近30天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近30天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近7天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dCost { get; set; }
/// <summary>
/// 近7天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近7天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(DbType = "datetime")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 昨天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayCost { get; set; }
/// <summary>
/// 昨天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelGOI { get; set; }
/// <summary>
/// 昨天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelProfit { get; set; }
}
}

57
SiNan.Model/Db/GOI/Aggregationjdpopularizeadgroupdaily.cs

@ -0,0 +1,57 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizeadgroupdaily", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeAdGroupDaily
{
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 单元Id
/// </summary>
[Column(DbType = "bigint")]
public long? AdGroupId { get; set; }
public string AdGroupName { get; set; }
/// <summary>
/// 计划Id
/// </summary>
[Column(DbType = "bigint")]
public long? CampaignId { get; set; }
/// <summary>
/// 推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Cost { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "datetime")]
public DateTime? Date { get; set; }
/// <summary>
/// 推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelGOI { get; set; }
/// <summary>
/// 推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
}
}

90
SiNan.Model/Db/GOI/Aggregationjdpopularizecampaign.cs

@ -0,0 +1,90 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizecampaign", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeCampaign
{
/// <summary>
/// 计划Id
/// </summary>
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 业务线(快车:2 京速推:134217728)
/// </summary>
[Column(DbType = "int")]
public int? BusinessType { get; set; }
public string CampaignName { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 近30天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dCost { get; set; }
/// <summary>
/// 近30天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近30天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近7天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dCost { get; set; }
/// <summary>
/// 近7天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近7天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(DbType = "datetime")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 昨天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayCost { get; set; }
/// <summary>
/// 昨天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelGOI { get; set; }
/// <summary>
/// 昨天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelProfit { get; set; }
}
}

57
SiNan.Model/Db/GOI/Aggregationjdpopularizecampaigndaily.cs

@ -0,0 +1,57 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizecampaigndaily", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeCampaignDaily
{
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 业务线(快车:2 京速推:134217728)
/// </summary>
[Column(DbType = "int")]
public int? BusinessType { get; set; }
/// <summary>
/// 计划Id
/// </summary>
[Column(DbType = "bigint")]
public long? CampaignId { get; set; }
public string CampaignName { get; set; }
/// <summary>
/// 推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Cost { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "datetime")]
public DateTime? Date { get; set; }
/// <summary>
/// 推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelGOI { get; set; }
/// <summary>
/// 推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
}
}

119
SiNan.Model/Db/GOI/Aggregationjdpopularizesku.cs

@ -0,0 +1,119 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizesku", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeSku
{
/// <summary>
/// sku
/// </summary>
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
public string Id { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(StringLength = 50)]
public string ProductId { get; set; }
/// <summary>
/// 近30天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dCost { get; set; }
/// <summary>
/// 近30天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近30天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近30天产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dProductLevelGOI { get; set; }
/// <summary>
/// 近30天产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dProductLevelProfit { get; set; }
/// <summary>
/// 近7天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dCost { get; set; }
/// <summary>
/// 近7天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近7天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近7天产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dProductLevelGOI { get; set; }
/// <summary>
/// 近7天产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dProductLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(DbType = "datetime")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 昨天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayCost { get; set; }
/// <summary>
/// 昨天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelGOI { get; set; }
/// <summary>
/// 昨天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelProfit { get; set; }
/// <summary>
/// 昨天产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayProductLevelGOI { get; set; }
/// <summary>
/// 昨天产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayProductLevelProfit { get; set; }
}
}

66
SiNan.Model/Db/GOI/Aggregationjdpopularizeskudaily.cs

@ -0,0 +1,66 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizeskudaily", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeSkuDaily
{
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Cost { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "datetime")]
public DateTime? Date { get; set; }
/// <summary>
/// 推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelGOI { get; set; }
/// <summary>
/// 推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelProfit { get; set; }
/// <summary>
/// spu
/// </summary>
[Column(StringLength = 50)]
public string ProductId { get; set; }
/// <summary>
/// 产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? ProductLevelGOI { get; set; }
/// <summary>
/// 产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? ProductLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
/// <summary>
/// sku
/// </summary>
[Column(StringLength = 50)]
public string SkuId { get; set; }
}
}

116
SiNan.Model/Db/GOI/Aggregationjdpopularizespu.cs

@ -0,0 +1,116 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizespu", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeSpu
{
/// <summary>
/// spu
/// </summary>
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
public string Id { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 近30天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dCost { get; set; }
/// <summary>
/// 近30天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近30天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近30天产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dProductLevelGOI { get; set; }
/// <summary>
/// 近30天产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent30dProductLevelProfit { get; set; }
/// <summary>
/// 近7天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dCost { get; set; }
/// <summary>
/// 近7天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelGOI { get; set; }
/// <summary>
/// 近7天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dPopularizeLevelProfit { get; set; }
/// <summary>
/// 近7天产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dProductLevelGOI { get; set; }
/// <summary>
/// 近7天产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Recent7dProductLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(DbType = "datetime")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 昨天推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayCost { get; set; }
/// <summary>
/// 昨天推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelGOI { get; set; }
/// <summary>
/// 昨天推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayPopularizeLevelProfit { get; set; }
/// <summary>
/// 昨天产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayProductLevelGOI { get; set; }
/// <summary>
/// 昨天产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? YestodayProductLevelProfit { get; set; }
}
}

59
SiNan.Model/Db/GOI/Aggregationjdpopularizespudaily.cs

@ -0,0 +1,59 @@
using FreeSql.DataAnnotations;
namespace SiNan.Model.Db
{
[Table(Name = "aggregationjdpopularizespudaily", DisableSyncStructure = true)]
public partial class AggregationJDPopularizeSpuDaily
{
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 推广花费
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? Cost { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "datetime")]
public DateTime? Date { get; set; }
/// <summary>
/// 推广维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelGOI { get; set; }
/// <summary>
/// 推广维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? PopularizeLevelProfit { get; set; }
/// <summary>
/// spu
/// </summary>
[Column(StringLength = 50)]
public string ProductId { get; set; }
/// <summary>
/// 产品维度GOI
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? ProductLevelGOI { get; set; }
/// <summary>
/// 产品维度毛利
/// </summary>
[Column(DbType = "decimal(18,2)")]
public decimal? ProductLevelProfit { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
}
}
Loading…
Cancel
Save