WIP
This commit is contained in:
parent
22417409a2
commit
a72d457eef
52 changed files with 919 additions and 280 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using BookAStar.Model.Social;
|
||||
using BookAStar.Helpers;
|
||||
using BookAStar.Model.Social;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
@ -13,18 +14,18 @@ namespace BookAStar.Model
|
|||
public string UserName { get; set; }
|
||||
|
||||
public string Avatar { get; set; }
|
||||
// private string avatar;
|
||||
// public string Avatar { get { return avatar ?? "icon-anon.png"; } set { avatar = value; } }
|
||||
public string UserId { get; set; }
|
||||
public int Rate { get; set; }
|
||||
public string EMail { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public Location BillingAddress { get; set; }
|
||||
// TODO Get User Professional status existence as a boolean
|
||||
// And hack the avatar with
|
||||
public ImageSource AvatarOrNot
|
||||
{
|
||||
get
|
||||
{
|
||||
return Avatar ?? ImageSource.FromResource("BookAStar.icon-anon.png");
|
||||
return UserHelpers.Avatar(Avatar);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue