using Newtonsoft.Json; using OfficeOpenXml.Attributes; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ARW.Model.Models.Business.Chat { [SugarTable("tb_chat_apply")] public class Apply : BusinessBase { /// /// 发起人id /// [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(ColumnDescription = "发起人id", ColumnName = "sender_guid")] public long SenderGuId { get; set; } /// /// 接收人id /// [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(ColumnDescription = "接收人id",ColumnName = "receiver_guid")] public long ReceiverGuId { get; set; } /// /// 附言 /// [SugarColumn(ColumnDescription = "附言", IsNullable = true, ColumnName = "postscript")] public string Postscript { get; set; } /// /// 回复 /// [SugarColumn(ColumnDescription = "回复", IsNullable = true, ColumnName = "reply")] public string Reply { get; set; } /// /// 是否同意 /// [SugarColumn(ColumnDescription = "是否同意", IsNullable = true, ColumnName = "isAgree")] public bool? IsAgree { get; set; } /// /// 是否群申请 /// [SugarColumn(ColumnDescription = "是否群申请", IsNullable = true, ColumnName = "isGroupApply")] public bool? IsGroupApply { get; set; } /// /// 是否已读 /// [SugarColumn(ColumnDescription = "是否已读", ColumnName = "isRead")] public bool IsRead { get; set; } } }