internal void Initialize(CommonAccount account) { this.Id = account.Id; this.Code = account.Code; this.AccountType = account.AccountType; this.CustomerId = account.CustomerId; this.TradePolicyId = account.TradePolicyId; this.GroupId = account.GroupId; this.GroupCode = account.GroupCode; this.IsBlack = account.IsBlack; }
public Account(CommonAccount account) { this.Initialize(account); }