ChatRoomForGpt/ARW-net/ARW.Model/Vo/Chat/ChatGPT/ChatGPTLogVo.cs
2023-04-04 18:15:13 +08:00

129 lines
3.6 KiB
C#

using Newtonsoft.Json;
using OfficeOpenXml.Attributes;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ARW.Model.Models.Business;
using ARW.Model.Models.Business.Crawler;
using Newtonsoft.Json.Linq;
using ARW.Model.Models.Business.Chat.ChatGPT;
using ARW.Model.Models.Business.Chat;
namespace ARW.Model.Vo.Chat.ChatGPT
{
public class ChatGPTLogVo
{
[JsonConverter(typeof(ValueToStringConverter))]
public long ReceiverGuId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long SenderGuId { get; set; }
public string ChatGptLogContent { get; set; }
public DateTime ChatGptLogSendTime { get; set; }
}
//public class ChatGPTLogListVo
//{
// [JsonConverter(typeof(ValueToStringConverter))]
// public long SenderGuId { get; set; }
// [JsonConverter(typeof(ValueToStringConverter))]
// public long ReceiverGuId { get; set; }
// public string ChatGPTLogContent { get; set; }
// public string ChatGPTLogSendTime { get; set; }
// public FriendsVo ChatGPTUserObject
// {
// get
// {
// //var sex = "";
// //if (this.Sex == "1")
// //{
// // sex = "男";
// //}
// //else
// //{
// // sex = "女";
// //}
// return new FriendsVo
// {
// FriendGuId = this.ChatGPTUserGuId,
// FriendName = this.ChatGPTUserName,
// FriendNickName = this.ChatGPTUserNickName,
// FriendImg = this.ChatGPTUserImg,
// Sex = this.Sex,
// Age = this.Age,
// Phone = this.Phone,
// Email = this.Email,
// FriendNote = this.FriendNote,
// IsRead = this.IsRead,
// };
// }
// set { }
// }
// public GroupListVo GroupObject
// {
// get
// {
// return new GroupListVo
// {
// GroupGuId = this.GroupGuId,
// GroupName = this.GroupName,
// GroupImg = this.GroupImg,
// GroupIsRead = this.GroupIsRead,
// };
// }
// set { }
// }
// public bool IsRead { get; set; }
// [JsonIgnore]
// [JsonConverter(typeof(ValueToStringConverter))]
// public long GroupGuId { get; set; }
// [JsonIgnore]
// public string GroupName { get; set; }
// [JsonIgnore]
// public string GroupImg { get; set; }
// [JsonIgnore]
// public bool GroupIsRead { get; set; }
// [JsonIgnore]
// [JsonConverter(typeof(ValueToStringConverter))]
// public long ChatGPTUserGuId { get; set; }
// [JsonIgnore]
// public string ChatGPTUserName { get; set; }
// [JsonIgnore]
// public string ChatGPTUserNickName { get; set; }
// [JsonIgnore]
// public string ChatGPTUserImg { get; set; }
// [JsonIgnore]
// public string Sex { get; set; }
// [JsonIgnore]
// public int Age { get; set; }
// [JsonIgnore]
// public string Phone { get; set; }
// [JsonIgnore]
// public string Email { get; set; }
// [JsonIgnore]
// public string FriendNote { get; set; }
//}
}