121 lines
3.0 KiB
C#
121 lines
3.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSkus
|
|
{
|
|
/// <summary>
|
|
/// 商品规格,数据实体对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-06-19
|
|
/// </summary>
|
|
[SugarTable("tb_goods_sku")]
|
|
public class GoodsSku : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_sku_id")]
|
|
public int GoodsSkuId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :商品guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "goods_guid")]
|
|
public long GoodsGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :第一规格值ID
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "spec_value_id")]
|
|
public int SpecValueId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :第二规格值ID
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "spec_second_value_id")]
|
|
public int SpecSecondValueId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :第三规格值ID
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "spec_third_value_id")]
|
|
public int SpecThirdValueId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :图片
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_img")]
|
|
public string GoodsSkuImg { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :sku编码
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_sku_code")]
|
|
public string GoodsSkuSkuCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :价格
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_price")]
|
|
public decimal GoodsSkuPrice { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :划线价格
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_line_price")]
|
|
public decimal GoodsSkuLinePrice { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :当前库存数量
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_stock_num")]
|
|
public int GoodsSkuStockNum { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :商品重量(Kg)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_weight")]
|
|
public decimal GoodsSkuWeight { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :SKU的规格属性(json格式)
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_sku_props")]
|
|
public string GoodsSkuProps { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |