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.
68 lines
1.7 KiB
68 lines
1.7 KiB
using FreeSql.DataAnnotations;
|
|
|
|
namespace SiNan.Model.Db
|
|
{
|
|
|
|
[Table(Name = "ordersku", DisableSyncStructure = true)]
|
|
public partial class OrderSku
|
|
{
|
|
|
|
[Column(DbType = "bigint(1)", IsPrimary = true)]
|
|
public long Id { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售数量
|
|
/// </summary>
|
|
[Column(DbType = "int(1)")]
|
|
public int? ItemTotal { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string OrderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售单价
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? Price { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string ProductId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 货号
|
|
/// </summary>
|
|
[Column(StringLength = 50)]
|
|
public string ProductNo { get; set; }
|
|
|
|
[Column(StringLength = 50, IsNullable = false)]
|
|
public string SkuId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Sku标题
|
|
/// </summary>
|
|
[Column(StringLength = 255)]
|
|
public string Title { get; set; }
|
|
|
|
[Column(StringLength = 255)]
|
|
public string Logo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 代发信息Id
|
|
/// </summary>
|
|
[Column(DbType = "bigint(1)", IsNullable = true)]
|
|
public long? OrderDropShippingId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否售后
|
|
/// </summary>
|
|
[Column(DbType = "bit")]
|
|
public bool IsRefund { get; set; } = false;
|
|
|
|
[Column(IsIgnore = true)]
|
|
public long ShopId { get; set; }
|
|
}
|
|
|
|
}
|
|
|