key1_beacon_api/ARW.Model/Models/Business/Custom/GoodsCollections/GoodsCollection.cs
2023-10-22 16:34:17 +08:00

59 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using SqlSugar;
using OfficeOpenXml.Attributes;
using Newtonsoft.Json;
namespace ARW.Model.Models.Business.Custom.GoodsCollections
{
/// <summary>
/// 商品收藏,数据实体对象
///
/// @author lwh
/// @date 2023-10-22
/// </summary>
[SugarTable("tb_goods_collection")]
public class GoodsCollection : BusinessBase
{
/// <summary>
/// 描述 :
/// 空值 : false
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_collection_id")]
public int GoodsCollectionId { get; set; }
/// <summary>
/// 描述 :
/// 空值 : false
/// </summary>
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "goods_collection_guid")]
public long GoodsCollectionGuid { get; set; }
/// <summary>
/// 描述 :客户guid
/// 空值 : false
/// </summary>
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(ColumnName = "customer_guid")]
public long CustomerGuid { get; set; }
/// <summary>
/// 描述 :商品guid
/// 空值 : false
/// </summary>
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(ColumnName = "goods_guid")]
public long GoodsGuid { get; set; }
}
}