57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSpecRels
|
|
{
|
|
/// <summary>
|
|
/// 商品与规格值关系记录,数据实体对象
|
|
///
|
|
/// @author 黎文豪
|
|
/// @date 2023-06-19
|
|
/// </summary>
|
|
[SugarTable("tb_goods_spec_rel")]
|
|
public class GoodsSpecRel : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_spec_rel_id")]
|
|
public int GoodsSpecRelId { 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_id")]
|
|
public int SpecId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :规格值ID
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "spec_value_id")]
|
|
public int SpecValueId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |