Пример #1
0
 public CashType CreateCashType(CashTypeBean cashType)
 {
     CashType ct = new CashType();
     ct.AllDiscount = cashType.AllDiscount;
     ct.CashBaseTypeId = cashType.CashBaseTypeId;
     ct.Code = cashType.Code;
     ct.CreateBy = cashType.CreateBy;
     ct.CreateDatetime = cashType.CreateDatetime;
     ct.Deleted = cashType.Deleted;
     ct.Id = cashType.Id;
     ct.IsBillIncome = cashType.IsBillIncome;
     ct.IsPaid = cashType.IsPaid;
     ct.IsPrivilege = cashType.IsPrivilege;
     ct.IsScore = cashType.IsScore;
     ct.KeepRecharge = cashType.KeepRecharge;
     ct.Keys = cashType.Keys;
     ct.LossesUsing = cashType.LossesUsing;
     ct.Name = cashType.Name;
     ct.Rate = cashType.Rate;
     ct.ReceptionUseing = cashType.ReceptionUseing;
     ct.RechargeUsing = cashType.RechargeUsing;
     ct.Status = cashType.Status;
     ct.SupplierUsing = cashType.SupplierUsing;
     ct.UpdateBy = cashType.UpdateBy;
     ct.UpdateDatetime = cashType.UpdateDatetime;
     ct.UseingKeys = cashType.UseingKeys;
     return ct;
 }