17 lines
787 B
C#
17 lines
787 B
C#
using System.ComponentModel.DataAnnotations;
|
|
namespace ROLAC.API.DTOs.Giving;
|
|
|
|
// Minimal member fields the mobile offering-entry page collects when a giver
|
|
// isn't on file yet. Creates a Visitor; the rest of the profile can be filled
|
|
// in later from the admin Members page.
|
|
public class QuickAddMemberRequest
|
|
{
|
|
[Required, MaxLength(100)] public string FirstName_en { get; set; } = "";
|
|
[Required, MaxLength(100)] public string LastName_en { get; set; } = "";
|
|
[MaxLength(100)] public string? NickName { get; set; }
|
|
[MaxLength(100)] public string? FirstName_zh { get; set; }
|
|
[MaxLength(100)] public string? LastName_zh { get; set; }
|
|
[MaxLength(200)] public string? Entity { get; set; }
|
|
[MaxLength(30)] public string? PhoneCell { get; set; }
|
|
}
|