using System;
using System.Xml.Serialization;

namespace QC.CTDS.DM.DataStructures.FormatDescriptorStructure;

[Serializable]
public class StatsType : BindableObject
{
	private string _id;

	private bool isSelected;

	[XmlAttribute]
	public string id
	{
		get
		{
			return _id;
		}
		set
		{
			if (!(_id == value))
			{
				_id = value;
				base.OnPropertyChanged("id");
			}
		}
	}

	[XmlIgnore]
	public bool IsSelected
	{
		get
		{
			return isSelected;
		}
		set
		{
			if (isSelected != value)
			{
				isSelected = value;
				OnPropertyChanged("IsSelected");
			}
		}
	}

	public StatsType()
	{
	}

	public StatsType(StatsType statType)
		: base(statType)
	{
		_id = statType._id;
	}
}
