Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/CommentOpenModel.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

62 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// CommentOpenModel Data Structure.
/// </summary>
[Serializable]
public class CommentOpenModel : AopObject
{
/// <summary>
/// 口碑评价id
/// </summary>
[JsonProperty("comment_id")]
public string CommentId { get; set; }
/// <summary>
/// 评价发表时间
/// </summary>
[JsonProperty("comment_publish_time")]
public string CommentPublishTime { get; set; }
/// <summary>
/// 评价内容不超过2000字不区分中英文
/// </summary>
[JsonProperty("content")]
public string Content { get; set; }
/// <summary>
/// 评价关联的手艺人id
/// </summary>
[JsonProperty("craftsman_id")]
public string CraftsmanId { get; set; }
/// <summary>
/// 评价上传图片一条评价最多9张图片
/// </summary>
[JsonProperty("images")]
public List<string> Images { get; set; }
/// <summary>
/// 评价回复
/// </summary>
[JsonProperty("reply")]
public CommentReplyOpenModel Reply { get; set; }
/// <summary>
/// 评分1-5分1分最低5分最高均为整数
/// </summary>
[JsonProperty("score")]
public long Score { get; set; }
/// <summary>
/// 评价对应的门店id
/// </summary>
[JsonProperty("shop_id")]
public string ShopId { get; set; }
}
}