mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
26 lines
621 B
C#
26 lines
621 B
C#
#nullable enable
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Bit.Core.AdminConsole.Entities;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
|
|
|
namespace Bit.Admin.Billing.Models;
|
|
|
|
public class BusinessUnitConversionModel
|
|
{
|
|
[Required]
|
|
[EmailAddress]
|
|
[Display(Name = "Provider Admin Email")]
|
|
public string? ProviderAdminEmail { get; set; }
|
|
|
|
[BindNever]
|
|
public required Organization Organization { get; set; }
|
|
|
|
[BindNever]
|
|
public Guid? ProviderId { get; set; }
|
|
|
|
[BindNever]
|
|
public string? Success { get; set; }
|
|
|
|
[BindNever] public List<string>? Errors { get; set; } = [];
|
|
}
|