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>
        /// 数据日期
        /// </summary>
        [Column(DbType = "datetime")]
        public DateTime? Date { 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; }

    }

}