mirror of
https://github.com/bitwarden/server.git
synced 2025-07-05 01:52:49 -05:00
move all models into core
This commit is contained in:
@ -1,25 +0,0 @@
|
||||
using Bit.Core.Models.Table;
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Business;
|
||||
using System;
|
||||
|
||||
namespace Bit.Api.Models
|
||||
{
|
||||
public class OrganizationCreateRequestModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public PlanType PlanType { get; set; }
|
||||
public string Key { get; set; }
|
||||
|
||||
public virtual OrganizationSignup ToOrganizationSignup(User user)
|
||||
{
|
||||
return new OrganizationSignup
|
||||
{
|
||||
Owner = user,
|
||||
OwnerKey = Key,
|
||||
Name = Name,
|
||||
Plan = PlanType
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user