Fixed RegistrationDto
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace watcher_monitoring.Payloads;
|
||||
|
||||
public class RegistrationDto
|
||||
{
|
||||
public required string IpAddress;
|
||||
public required string Key;
|
||||
[Required]
|
||||
public required string IpAddress { get; set; }
|
||||
[Required]
|
||||
public required string Key { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user