mirror of
https://github.com/bitwarden/server
synced 2025-12-25 12:43:14 +00:00
20 lines
467 B
C#
20 lines
467 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Bit.Core.Enums;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Api.Models.Request.Organizations;
|
|
|
|
public class OrganizationSponsorshipCreateRequestModel
|
|
{
|
|
[Required]
|
|
public PlanSponsorshipType PlanSponsorshipType { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(256)]
|
|
[StrictEmailAddress]
|
|
public string SponsoredEmail { get; set; }
|
|
|
|
[StringLength(256)]
|
|
public string FriendlyName { get; set; }
|
|
}
|