submodule对gitea不管用,所以直接拉了一份拉格兰
This commit is contained in:
29
Lagrange.Core/Lagrange.OneBot/Core/Entity/OneBotStranger.cs
Normal file
29
Lagrange.Core/Lagrange.OneBot/Core/Entity/OneBotStranger.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Lagrange.OneBot.Core.Entity;
|
||||
|
||||
[Serializable]
|
||||
public class OneBotStranger
|
||||
{
|
||||
[JsonPropertyName("user_id")] public uint UserId { get; set; }
|
||||
|
||||
[JsonPropertyName("avatar")] public string Avatar { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("q_id")] public string? QId { get; set; }
|
||||
|
||||
[JsonPropertyName("nickname")] public string NickName { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("sign")] public string Sign { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("sex")] public string Sex { get; set; } = "unknown";
|
||||
|
||||
[JsonPropertyName("age")] public uint Age { get; set; }
|
||||
|
||||
[JsonPropertyName("level")] public uint Level { get; set; }
|
||||
|
||||
[JsonPropertyName("status")] public OneBotFriendStatus Status { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("RegisterTime")] public DateTime RegisterTime { get; set; }
|
||||
|
||||
[JsonPropertyName("Business")] public List<OneBotBusiness> Business { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user