key1_beacon_api/ARW.Model/Models/Business/GoodsManager/GoodsSpecs/Specs/Spec.cs

45 lines
1020 B
C#

using System;
using System.Collections.Generic;
using SqlSugar;
using OfficeOpenXml.Attributes;
using Newtonsoft.Json;
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.Specs
{
/// <summary>
/// 商品规格组,数据实体对象
///
/// @author lwh
/// @date 2023-06-19
/// </summary>
[SugarTable("tb_spec")]
public class Spec : BusinessBase
{
/// <summary>
/// 描述 :
/// 空值 : false
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "spec_id")]
public int SpecId { get; set; }
/// <summary>
/// 描述 :规格值名称
/// 空值 : false
/// </summary>
[SugarColumn(ColumnName = "spec_name")]
public string SpecName { get; set; }
/// <summary>
/// 描述 :层级
/// 空值 : false
/// </summary>
[SugarColumn(ColumnName = "level")]
public int Level { get; set; }
}
}