using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;


namespace MeteoWebApp.Models
{
	public class Station
	{
		[Key]
		public int StationId { get; set; }
		[StringLength(100)]
		public string Name { get; set; }
		public float GpsLatitude { get; set; } // Width
		public float GpsLongitude { get; set; } // Length
		public Guid ApiKey { get; set; }
		public Boolean Default { get; set; }
		public virtual ICollection<Measurement> Measurements { get; set; }
	}
}