public Investment(string fundName, EInvestmentType investmentType, decimal applicationValue, decimal yieldValue, DateTime applicationDate) { FundName = fundName; InvestmentType = investmentType; ApplicationValue = applicationValue; YieldValue = yieldValue; FirstApplicationDate = applicationDate; }
public CreateInvestmentCommand(Guid userId, Guid accountId, string description, decimal value, EInvestmentType type) { UserId = userId; AccountId = accountId; Description = description; Value = value; Type = type; }
public Investment(decimal value, string description, EInvestmentType type, Guid accountId, Guid userId) : base() { Type = type; Value = value; Description = description; AccountId = accountId; UserId = userId; }
public Investment(Guid id, decimal value, string description, EInvestmentType type, Guid accountId, Guid userId, Guid movementId, DateTime createdOn, DateTime?updatedOn) : base(id, createdOn, updatedOn) { Value = value; Description = description; Type = type; MovementId = movementId; AccountId = accountId; UserId = userId; MovementId = movementId; }
public void SetInvestmentType(EInvestmentType type) { this.Type = type; }