using Prism.Mvvm; using System.Collections.Generic; using System.Collections.ObjectModel; namespace SKMC.Api.Client.Access { /// /// 客户端角色 /// public class ClientRole : BindableBase { private long _id; public long Id { get { return _id; } set { _id = value; } } private string _code; public string Code { get { return _code; } set { _code = value; } } private string _name; public string Name { get { return _name; } set { _name = value; } } private string _passowrd; public string Password { get { return _passowrd; } set { _passowrd = value; } } public string ShowName { get { return $"{_name} {_code}"; } } public ObservableCollection ClientAccesses { get; set; } = new ObservableCollection(); } }