using System.Collections.Generic;
using System.Runtime.Serialization;

namespace BS.Shared.DataContracts
{
    [DataContract]
    public class VarFieldDC : IDataContract
    {
        [DataMember]
        public int? ColumnSpan { get; set; }

        [DataMember]
        public ControlType ControlType { get; set; }

        [DataMember]
        public int DecimalPlaces { get; set; }

        [DataMember]
        public string Group { get; set; }

        [DataMember]
        public int? Height { get; set; }

        [DataMember]
        public string Label { get; set; }

        [DataMember]
        public List<string> PossibleItems { get; set; }

        [DataMember]
        public int? RowSpan { get; set; }

        [DataMember]
        public long VarFieldDefOid { get; set; }

        [DataMember]
        public object VarFieldValue { get; set; }

        [DataMember]
        public long? VarFieldValueOid { get; set; }

        [DataMember]
        public long? VarFieldValueVersion { get; set; }

        [DataMember]
        public int? Width { get; set; }

        [DataMember]
        public int XCoordinate { get; set; }

        [DataMember]
        public int YCoordinate { get; set; }
    }
}