Remove setters where possible

This commit is contained in:
Ske
2020-06-13 13:11:08 +02:00
parent e8b69dfe29
commit cb8f29cc47
3 changed files with 8 additions and 15 deletions

View File

@@ -3,15 +3,8 @@
namespace PluralKit.Core {
public class PKSwitch
{
public int Id { get; set; }
public int Id { get; }
public int System { get; set; }
public Instant Timestamp { get; set; }
}
public class PKSwitchMember
{
public int Id { get; set; }
public int Switch { get; set; }
public int Member { get; set; }
public Instant Timestamp { get; }
}
}