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

namespace TravelExpenses.Models
{
    public class Destination
    {
        [Key][DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int DestinationId { get; set; }
        [Required] public string DestinationName { get; set; }
        [Required] public decimal DailyAmount { get; set; }
        [Required] public int TravelTypeId { get; set; } public TravelType TravelType { get; set; }
        [Required] public int CountryId { get; set; } public Country Country { get; set; }
        [Required] public int CurrencyId { get; set; } public Currency Currency { get; set; }
    }
}
