mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 22:23:18 +08: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; }
|
|||
|
|
}
|
|||
|
|
}
|