mirror of
https://github.com/bitwarden/server
synced 2025-12-21 18:53:41 +00:00
23 lines
577 B
C#
23 lines
577 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Bit.Core.Entities;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Api.Models.Public.Request;
|
|
|
|
public class MemberCreateRequestModel : MemberUpdateRequestModel
|
|
{
|
|
/// <summary>
|
|
/// The member's email address.
|
|
/// </summary>
|
|
/// <example>jsmith@example.com</example>
|
|
[Required]
|
|
[StringLength(256)]
|
|
[StrictEmailAddress]
|
|
public string Email { get; set; }
|
|
|
|
public override OrganizationUser ToOrganizationUser(OrganizationUser existingUser)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|