150 lines
3.9 KiB
C#
150 lines
3.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.GoodsManager.GoodsComments
|
|
{
|
|
/// <summary>
|
|
/// 商品评价,数据实体对象
|
|
///
|
|
/// @author admin
|
|
/// @date 2023-07-15
|
|
/// </summary>
|
|
[SugarTable("tb_goods_comment")]
|
|
public class GoodsComment : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_comment_id")]
|
|
public int GoodsCommentId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "goods_comment_guid")]
|
|
public long GoodsCommentGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :店铺guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "shop_guid")]
|
|
public long ShopGuid { 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 = "order_guid")]
|
|
public long OrderGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :商品guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "goods_guid")]
|
|
public long GoodsGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :订单商品guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "order_goods_guid")]
|
|
public long OrderGoodsGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :评分分数
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_rating")]
|
|
public float GoodsCommentRating { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :评分类型
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_rating_type")]
|
|
public int GoodsCommentRatingType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :评价内容
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_content")]
|
|
public string GoodsCommentContent { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :评价图片
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_images")]
|
|
public string GoodsCommentImages { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :回复状态
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_recover_status")]
|
|
public int GoodsCommentRecoverStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :回复内容
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_recover_content")]
|
|
public string GoodsCommentRecoverContent { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :显示状态
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_status")]
|
|
public int GoodsCommentStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :排序
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "goods_comment_sort")]
|
|
public int GoodsCommentSort { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |