using FreeSql.DataAnnotations;
using System;

namespace BBWY.Server.Model.Db
{

    [Table(Name = "ordersku", DisableSyncStructure = true)]
    public partial class OrderSku
    {

        [Column(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; }
    }

}