namespace VberAdmin.Web.Models.Input; public class VmInputCheckBoxRadioItem { public VmInputCheckBoxRadioItem(string name, string value) { IsChecked = false; Name = name; Value = value; } public string Name { get; set; } public string Value { get; set; } public string Class { get; set; } public string Other { get; set; } public bool IsChecked { get; set; } public VmInputCheckBoxRadioItem WithClass(string @class) { Class = @class; return this; } public VmInputCheckBoxRadioItem WithOther(string other) { Other = other; return this; } public VmInputCheckBoxRadioItem WithChecked() { IsChecked = true; return this; } }