2022-07-07 15:46:17 +02:00
|
|
|
|
using ProtoBuf;
|
2022-07-05 18:52:38 +02:00
|
|
|
|
|
2022-07-07 15:46:17 +02:00
|
|
|
|
namespace SharedProject.models;
|
|
|
|
|
|
|
|
|
|
[ProtoContract]
|
2022-07-05 18:52:38 +02:00
|
|
|
|
public class Avatar
|
|
|
|
|
{
|
2022-07-07 15:46:17 +02:00
|
|
|
|
[ProtoMember(1)]
|
2022-07-05 18:52:38 +02:00
|
|
|
|
public uint Id { get; set; }
|
2022-07-07 15:46:17 +02:00
|
|
|
|
|
|
|
|
|
[ProtoMember(2)]
|
2022-07-05 18:52:38 +02:00
|
|
|
|
public string? IdString { get; set; }
|
2022-07-07 15:46:17 +02:00
|
|
|
|
|
|
|
|
|
[ProtoMember(3)]
|
2022-07-05 18:52:38 +02:00
|
|
|
|
public string? FullName { get; set; }
|
2022-07-07 15:46:17 +02:00
|
|
|
|
|
|
|
|
|
[ProtoMember(4)]
|
2022-07-05 18:52:38 +02:00
|
|
|
|
public string? Name { get; set; }
|
2022-07-07 15:46:17 +02:00
|
|
|
|
|
|
|
|
|
[ProtoMember(5)]
|
2022-07-05 18:52:38 +02:00
|
|
|
|
public string? Variant { get; set; }
|
2022-07-07 15:46:17 +02:00
|
|
|
|
|
|
|
|
|
[ProtoMember(6)]
|
|
|
|
|
public string? AcquireMethodJp { get; set; }
|
|
|
|
|
|
|
|
|
|
[ProtoMember(7)]
|
|
|
|
|
public string? AcquireMethodEn { get; set; }
|
2022-07-05 18:52:38 +02:00
|
|
|
|
|
|
|
|
|
public override string ToString() {
|
2022-07-07 15:46:17 +02:00
|
|
|
|
return $"{Id}: {FullName}, {AcquireMethodEn}";
|
2022-07-05 18:52:38 +02:00
|
|
|
|
}
|
|
|
|
|
}
|