25 lines
644 B
C#
25 lines
644 B
C#
namespace Backend.ServiceHander
|
|
{
|
|
public sealed class UserInterestFetchRequest
|
|
{
|
|
public string User { get; set; } = string.Empty;
|
|
public string Type { get; set; } = string.Empty; // "symbol" or "topic"
|
|
}
|
|
|
|
public sealed class UserInterestModifyRequest
|
|
{
|
|
public string User { get; set; } = string.Empty;
|
|
public string Type { get; set; } = string.Empty; // "symbol" or "topic"
|
|
public string Value { get; set; } = string.Empty; // symbol or topic
|
|
}
|
|
|
|
public sealed class UserInterestFetchResponse
|
|
{
|
|
public List<string> Items { get; set; } = new();
|
|
}
|
|
|
|
public sealed class BoolResponse
|
|
{
|
|
public bool Success { get; set; }
|
|
}
|
|
} |