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.
69 lines
1.5 KiB
69 lines
1.5 KiB
using FreeSql.DataAnnotations;
|
|
using System;
|
|
|
|
namespace BBWY.Server.Model.Db
|
|
{
|
|
|
|
/// <summary>
|
|
/// sku每日销量详情
|
|
/// </summary>
|
|
[Table(Name = "skudailysalesdetail", DisableSyncStructure = true)]
|
|
public partial class SkuDailySalesDetail
|
|
{
|
|
|
|
[Column(IsPrimary = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal Amount { get; set; } = 0.0M;
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime Date { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售件数
|
|
/// </summary>
|
|
|
|
public int ItemTotal { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 取消件数
|
|
/// </summary>
|
|
public int CancelItemTotal { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 订单数
|
|
/// </summary>
|
|
|
|
public int OrderCount { get; set; } = 0;
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
public Enums.Platform? Platform { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售单价
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? Price { get; set; }
|
|
|
|
|
|
public long? ShopId { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string Sku { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string Spu { get; set; }
|
|
|
|
[Column(DbType = "bit")]
|
|
public bool IsGift { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|