﻿using System.ComponentModel;
using System.Xml.Linq;

namespace CmsData.Registration
{
    public class AskPassport : Ask
    {
        public override string Header => "Standard - Passport";
        public AskPassport() :base("AskPassport") { }
        public override string Help => @"Displays two questions: Passport number and expires date.";
        public new static AskPassport ReadXml(XElement ele)
        {
            var m = new AskPassport();
            m.ReadAskAttributes(ele);
            return m;
        }

        // For Mockup
        [DisplayName("Passport Number")]
        public string Number => null;
        [DisplayName("Passport Expires Date")]
        public string Expires => null;
    }
}
