using System;
using System.Collections.Generic;
using SqlSugar;
using OfficeOpenXml.Attributes;
using Newtonsoft.Json;
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSpecRels
{
///
/// 商品与规格值关系记录,数据实体对象
///
/// @author lwh
/// @date 2023-06-19
///
[SugarTable("tb_goods_spec_rel")]
public class GoodsSpecRel : BusinessBase
{
///
/// 描述 :
/// 空值 : false
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_spec_rel_id")]
public int GoodsSpecRelId { get; set; }
///
/// 描述 :商品Guid
/// 空值 : false
///
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(ColumnName = "goods_guid")]
public long GoodsGuid { get; set; }
///
/// 描述 :规格组ID
/// 空值 : false
///
[SugarColumn(ColumnName = "spec_id")]
public int SpecId { get; set; }
///
/// 描述 :规格值ID
/// 空值 : false
///
[SugarColumn(ColumnName = "spec_value_id")]
public int SpecValueId { get; set; }
}
}