18 lines
435 B
C#
18 lines
435 B
C#
using Bit.Core.Models.Domain;
|
|
|
|
namespace Bit.Core.Models.View
|
|
{
|
|
public class SendTextView : View
|
|
{
|
|
public SendTextView() : base() { }
|
|
public SendTextView(SendText text)
|
|
{
|
|
Hidden = text.Hidden;
|
|
}
|
|
|
|
public string Text { get; set; } = null;
|
|
public bool Hidden { get; set; }
|
|
public string MaskedText => Text != null ? "••••••••" : null;
|
|
}
|
|
}
|