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

namespace TravelExpenses.Models
{
    public class VehicleModel
    {
        [Key][DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int VehicleModelId { get; set; }
        [Required] public string VehicleModelName { get; set; }
        [Required] public int VehicleBrandId { get; set; } public VehicleBrand VehicleBrand { get; set; }
    }
}
