18 lines
394 B
C#
18 lines
394 B
C#
|
namespace website.Models.signups {
|
||
|
public class Signup {
|
||
|
private string _firstName;
|
||
|
private string _lastName;
|
||
|
public int? signupId { get; set; }
|
||
|
public int? eventId { get; init; }
|
||
|
|
||
|
public string firstName {
|
||
|
get => _firstName;
|
||
|
set => _firstName = value.ToUpper().Trim();
|
||
|
}
|
||
|
|
||
|
public string lastName {
|
||
|
get => _lastName;
|
||
|
set => _lastName = value.ToUpper().Trim();
|
||
|
}
|
||
|
}
|
||
|
}
|