using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entities.Crypto
{
    public class CoinMarket
    {
        [ForeignKey(nameof(CoinID))]
        public virtual Coin Coin { get; set; } = null!;

        [Key]
        public int ID { get; set; }

        public int CoinID { get; set; }

        public string Market { get; set; } = default!;
    }
}