mirror of
https://github.com/bitwarden/server.git
synced 2025-04-23 22:15:10 -05:00
22 lines
452 B
C#
22 lines
452 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Bit.Core.Models.Table;
|
|
|
|
namespace Bit.Admin.Models
|
|
{
|
|
public class UserViewModel
|
|
{
|
|
public UserViewModel() { }
|
|
|
|
public UserViewModel(User user, IEnumerable<Cipher> ciphers)
|
|
{
|
|
User = user;
|
|
CipherCount = ciphers.Count();
|
|
}
|
|
|
|
public User User { get; set; }
|
|
public int CipherCount { get; set; }
|
|
}
|
|
}
|