using SessionCompanion.ViewModels.Enums;
using System.Collections.Generic;

namespace SessionCompanion.Database.Tables
{
    public class Weapon : BaseEntity
    {
        public string Name { get; set; }
        public int Cost { get; set; }
        public int Weight { get; set; }

        public CurrencyType CurrencyType { get; set; }
        public int DiceCount { get; set; }
        public int DiceValue { get; set; }
        public int? TwoHandDiceCount { get; set; }
        public int? TwoHandDiceValue { get; set; }
        public string TwoHandDamageType { get; set; }
        
        public string Description { get; set; }

        public string WeaponType { get; set; }
        public int RangeMeele { get; set; }
        public int? RangeThrowNormal { get; set; }
        public int? RangeThrowLong { get; set; }
        public int? RangeLong { get; set; }

        public virtual ICollection<CharacterWeapon> CharacterWeapons { get; set; }
    }
}