mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-25 09:07:15 +00:00
41 lines
1009 B
C#
41 lines
1009 B
C#
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;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Database record id
|
|
/// </summary>
|
|
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; }
|
|
}
|
|
}
|