using System.ComponentModel.DataAnnotations;

namespace BHServer.Models
{
    public class AssaultTroop
    {
        [Key]
        public int id { get; set; }
        [Required]
        public string name { get; set; }
        [Required]
        public int faction { get; set; } // 0 - Neutral, 1 - Allies, 2 - Axis
        [Required]
        public int type { get; set; } // 1 - infantry, 4 - Armor
        [Required]
        public int province { get; set; } // -1 - not deployed, provinces id
        [Required]
        public string orders { get; set; } // Json String
        [Required]
        public int owner { get; set; } // owner id
    }
}
