| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using Prism.Mvvm;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- namespace SKMC.Api.Client.Access
- {
- /// <summary>
- /// 客户端角色
- /// </summary>
- 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<ClientAccess> ClientAccesses { get; set; } = new ObservableCollection<ClientAccess>();
- }
- }
|