Skip to content

Commit

Permalink
Update ServerSettings.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 committed Jul 19, 2023
1 parent a56529d commit a2df298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ProjBobcat/ProjBobcat/Class/Model/ServerSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ namespace ProjBobcat.Class.Model;

public class ServerSettings : IDefaultValueChecker
{
public string Address { get; init; }
public ushort Port { get; init; }
public string Address { get; set; }
public ushort Port { get; set; }

[JsonIgnore] public bool IsDefaultValue => IsDefault();
[JsonIgnore] public string DisplayStr => ToString();
Expand Down

0 comments on commit a2df298

Please sign in to comment.