Esempio n. 1
0
 public RefundDto(Refund model)
 {
     this.Id             = model.Id;
     this.Amount         = model.Amount;
     this.CheckNumber    = model.CheckNumber;
     this.Date           = model.Date;
     this.SchoolYear     = model.SchoolYear;
     this.Username       = model.Username;
     this.Created        = model.Created;
     this.LastUpdated    = model.LastUpdated;
     this.SchoolDistrict = new SchoolDistrictDto(model.SchoolDistrict);
 }
 public PaymentDto(Payment model)
 {
     this.Id             = model.Id;
     this.PaymentId      = model.PaymentId;
     this.Split          = model.Split;
     this.Date           = model.Date;
     this.ExternalId     = model.ExternalId;
     this.Type           = model.Type;
     this.Amount         = model.Amount;
     this.SchoolYear     = model.SchoolYear;
     this.Username       = model.Username;
     this.Created        = model.Created;
     this.LastUpdated    = model.LastUpdated;
     this.SchoolDistrict = new SchoolDistrictDto(model.SchoolDistrict);
 }