// FIXME: Update this file to be null safe and then delete the line below
#nullable disable

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; }

    public bool? IsAdminInitiated { get; set; }

    [EncryptedString]
    [EncryptedStringLength(512)]
    public string Notes { get; set; }
}
