You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
385 B
15 lines
385 B
using System.Text.Json.Serialization; |
|
|
|
namespace StabilityMatrix.Core.Models.Api; |
|
|
|
public record CivitCreator |
|
{ |
|
[JsonPropertyName("username")] |
|
public string? Username { get; init; } |
|
|
|
[JsonPropertyName("image")] |
|
public string? Image { get; init; } |
|
|
|
[JsonIgnore] |
|
public string? ProfileUrl => Username is null ? null : $"https://civitai.com/user/{Username}"; |
|
}
|
|
|