profile.cs
来自「ibatis源码及帮助文档(IBatis源码+xsd+帮助)」· CS 代码 · 共 56 行
CS
56 行
using System;
using NPetshop.Domain.Catalog;
namespace NPetshop.Domain.Accounts
{
/// <summary>
/// Business entity used to model user profile
/// </summary>
public class Profile
{
#region Private Fields
private Category _favouriteCategory = null;
private string _favoriteLanguage = string.Empty;
private bool _isShowFavorites = false;
private bool _isShowBanners = false;
private string _bannerName = string.Empty;
#endregion
#region Properties
public Category FavouriteCategory
{
get{return _favouriteCategory;}
set{_favouriteCategory = value;}
}
public string FavoriteLanguage
{
get{return _favoriteLanguage;}
set{_favoriteLanguage = value;}
}
public bool IsShowFavorites
{
get{return _isShowFavorites;}
set{_isShowFavorites = value;}
}
public bool IsShowBanners
{
get{return _isShowBanners;}
set{_isShowBanners = value;}
}
public string BannerName
{
get{return _bannerName;}
set{_bannerName = value;}
}
#endregion
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?