Esempio n. 1
0
 public CardModel(AccountWithOwner item)
 {
     this.cardName    = item.AccountTypeName;
     this.name        = item.OwnerDisplayName;
     this.mobile      = item.OwnerMobileNumber;
     this.babyName    = item.BabyName;
     this.babySex     = item.BabySex == 1 ? "男孩" : "女孩";
     this.expiredDate = item.ExpiredDate.ToString("yyyy-MM-dd");
     if (this.cardName == "铂金气球卡" || this.cardName == "黑金气球卡")
     {
         this.frequency = -1;
     }
     else
     {
         this.frequency = item.Frequency;
     }
     this.cardNo = item.Name;
 }
Esempio n. 2
0
 public ListAccount(AccountWithOwner account)
 {
     _innerObject = account;
 }
Esempio n. 3
0
 public ListAccount()
 {
     _innerObject = new AccountWithOwner();
 }