using System;
using System.Collections.Generic;
using System.Text;

namespace Update
{
    /// <summary>
    /// 版本信息
    /// </summary>
    [Serializable]
    public class VersionInfo
    {
        public Version UIVersion { get; set; }
        public Version DALVersion { get; set; }
        public string Description { get; set; }
        public DateTime Time { get; set; }
        public string Url { get; set; }
        public string DALUrl { get; set; }
        public override string ToString()
        {
            return string.Format("软件版本:{0}\n接口版本:{1}\n更新时间:{2}\n{3}",UIVersion,DALVersion,Time.ToString("yyyy-MM-dd"),Description);
        }
    }
}
