using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace bnhtrade.Core.Model.Account { public class Account { public Account(int id, int accountCode, string accountName, string description, string type, string basicType, int multiplier) { AccountId = id; AccountCode = accountCode; AccountName = accountName; Description = description; Type = type; BasicType = basicType; Multiplier = multiplier; } /// /// Database record id /// public int AccountId { get; } public int AccountCode { get; } public string AccountName { get; } public string Description { get; } public string Type { get; } public string BasicType { get; } public int Multiplier { get; } } }