using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AVSORTER { public class Movie { /// /// 演员 /// public List Actor { get; set; } /// /// 标题 /// public string Title { get { return this._title; } set { if (value.Length>200) { this._title = value.Substring(0, 200); } else { this._title = value; } } } string _title; /// /// 封面 /// public string CoverURL { get; set; } /// /// 封面图片文件 /// public string CoverFile { get; set; } /// /// 公司 /// public string Maker { get; set; } /// /// 标签 /// public string Lable { get; set; } /// /// 系列 /// public string Series { get; set; } /// /// 制造商 /// public string Producer { get; set; } /// /// 日期 /// public DateTime ReleaseDate { get; set; } /// /// 片长度 /// public string Minutes { get; set; } /// /// 番号 /// public string AVCode { get; set; } /// /// 介绍 /// public string Introduction { get; set; } public string ItemURL { get; set; } public bool Censored { get; set; } public string VideosFile { get; set; } // public override string ToString() // { // return string.Format(@"Actor:{0} //Title:{1} //CoverURL:{2} //CoverFile:{3} //Maker:{4} //Label:{5} //Series:{6} //Producer:{7} //ReleaseDate:{8} //Minutes:{9} //Introduction:{10} //ItemURL:{11} //CODE:{12}", Tools.ListToString(Actor), Title, CoverURL, CoverFile, Maker, Lable,Series,Producer, ReleaseDate.ToShortDateString(), Minutes, Introduction, ItemURL,AVCode); // } public override string ToString() { return this.AVCode +"\t"+ this.Title; } } }