Esempio n. 1
0
 public TemplateViewEntity(int id,
                           IUserViewEntity userTo,
                           decimal amount)
 {
     this.Id     = id;
     this.UserTo = userTo;
     this.Amount = amount;
 }
Esempio n. 2
0
 public TransactionViewEntity(long id,
                              decimal amount,
                              IUserViewEntity userFrom,
                              IUserViewEntity userTo,
                              DateTime date)
 {
     this.Id       = id;
     this.Amount   = amount;
     this.UserFrom = userFrom;
     this.UserTo   = userTo;
     this.Date     = date;
 }
Esempio n. 3
0
 public UserViewItem(IUserViewEntity viewEntity)
 {
     this.Id   = viewEntity.Id;
     this.Name = viewEntity.Name;
 }