using Binance.TradeRobot.Model.Base;
using FreeSql.DataAnnotations;
using System;

namespace Binance.TradeRobot.Model.Db
{

    [Table(Name = "symbolinfo", DisableSyncStructure = true)]
    public partial class SymbolInfo
    {

        [Column(DbType = "bigint", IsPrimary = true)]
        public long Id { get; set; }

        [Column(DbType = "datetime")]
        public DateTime? CreateTime { get; set; }

        [Column(MapType = typeof(int), DbType = "int")]
        public Enums.Exchange ExchangeId { get; set; }

        /// <summary>
        /// 基础币卖出数量精度
        /// </summary>
        [Column(DbType = "int")]
        public int SaleQuantityAccuracy { get; set; }

        /// <summary>
        /// 价格精度
        /// </summary>
        [Column(DbType = "int")]
        public int PriceAccuracy { get; set; }

        [Column(StringLength = 50)]
        public string Symbol { get; set; }

    }

}