using System; using System.Runtime.Serialization; namespace CY_DocumentSynchroWCFService { /// ///Document_ProjectExpand /// [DataContract] public partial class Document_ProjectExpand : IAggregateRoot { public Document_ProjectExpand() { } #region Model private int? _id; private int? _projectid; private int? _issignup; private string _signupperson; private DateTime? _signuptime; private decimal? _signupallowance; private int? _documentstatus; private decimal? _documentprice; private string _documentmanager; private int? _tenderstatus; private string _tenderperson; private decimal? _tenderprice; private decimal? _tenderdraw; private int? _tenderdepositstatus; private DateTime? _tenderdepositstarttime; private DateTime? _tenderdepositendtime; private int? _unitid; private DateTime? _lastupdatetime; private string _lastupdatename; private string _introductionpath; private string _introductionpathversionno; private int? _introductionpathsize; private string _faceslippath; private string _faceslippathversionno; private int? _faceslippathsize; private int? _faceslipflag; private int? _introductionflag; private int? _introductionuserid; private int? _faceslipuserid; private int? _BidbondStatus; private string _Experts; /// /// ID /// [DataMember] public int? ID { get { return _id; } set { _id = value; } } /// /// ProjectId /// [DataMember] public int? ProjectId { get { return _projectid; } set { _projectid = value; } } /// /// IsSignup /// [DataMember] public int? IsSignup { get { return _issignup; } set { _issignup = value; } } /// /// SignupPerson /// [DataMember] public string SignupPerson { get { return _signupperson; } set { _signupperson = value; } } /// /// SignupTime /// [DataMember] public DateTime? SignupTime { get { return _signuptime; } set { _signuptime = value; } } /// /// SignupAllowance /// [DataMember] public decimal? SignupAllowance { get { return _signupallowance; } set { _signupallowance = value; } } /// /// DocumentStatus /// [DataMember] public int? DocumentStatus { get { return _documentstatus; } set { _documentstatus = value; } } /// /// DocumentPrice /// [DataMember] public decimal? DocumentPrice { get { return _documentprice; } set { _documentprice = value; } } /// /// DocumentManager /// [DataMember] public string DocumentManager { get { return _documentmanager; } set { _documentmanager = value; } } /// /// TenderStatus /// [DataMember] public int? TenderStatus { get { return _tenderstatus; } set { _tenderstatus = value; } } /// /// TenderPerson /// [DataMember] public string TenderPerson { get { return _tenderperson; } set { _tenderperson = value; } } /// /// TenderPrice /// [DataMember] public decimal? TenderPrice { get { return _tenderprice; } set { _tenderprice = value; } } /// /// TenderDraw /// [DataMember] public decimal? TenderDraw { get { return _tenderdraw; } set { _tenderdraw = value; } } /// /// TenderDepositStatus /// [DataMember] public int? TenderDepositStatus { get { return _tenderdepositstatus; } set { _tenderdepositstatus = value; } } /// /// TenderDepositStartTime /// [DataMember] public DateTime? TenderDepositStartTime { get { return _tenderdepositstarttime; } set { _tenderdepositstarttime = value; } } /// /// TenderDepositEndTime /// [DataMember] public DateTime? TenderDepositEndTime { get { return _tenderdepositendtime; } set { _tenderdepositendtime = value; } } /// /// UnitId /// [DataMember] public int? UnitId { get { return _unitid; } set { _unitid = value; } } /// /// LastUpdateTime /// [DataMember] public DateTime? LastUpdateTime { get { return _lastupdatetime; } set { _lastupdatetime = value; } } /// /// LastUpdateName /// [DataMember] public string LastUpdateName { get { return _lastupdatename; } set { _lastupdatename = value; } } /// /// IntroductionPath /// [DataMember] public string IntroductionPath { get { return _introductionpath; } set { _introductionpath = value; } } /// /// IntroductionPathVersionNo /// [DataMember] public string IntroductionPathVersionNo { get { return _introductionpathversionno; } set { _introductionpathversionno = value; } } /// /// IntroductionPathSize /// [DataMember] public int? IntroductionPathSize { get { return _introductionpathsize; } set { _introductionpathsize = value; } } /// /// FaceSlipPath /// [DataMember] public string FaceSlipPath { get { return _faceslippath; } set { _faceslippath = value; } } /// /// FaceSlipPathVersionNo /// [DataMember] public string FaceSlipPathVersionNo { get { return _faceslippathversionno; } set { _faceslippathversionno = value; } } /// /// FaceSlipPathSize /// [DataMember] public int? FaceSlipPathSize { get { return _faceslippathsize; } set { _faceslippathsize = value; } } /// /// FaceSlipFlag /// [DataMember] public int? FaceSlipFlag { get { return _faceslipflag; } set { _faceslipflag = value; } } /// /// IntroductionFlag /// [DataMember] public int? IntroductionFlag { get { return _introductionflag; } set { _introductionflag = value; } } /// /// IntroductionUserId /// [DataMember] public int? IntroductionUserId { get { return _introductionuserid; } set { _introductionuserid = value; } } /// /// FaceSlipUserId /// [DataMember] public int? FaceSlipUserId { get { return _faceslipuserid; } set { _faceslipuserid = value; } } [DataMember] /// /// 履约保证金状态 /// public int? BidbondStatus { get { return _BidbondStatus; } set { _BidbondStatus = value; } } /// /// 履约保证金缴纳时间 /// [DataMember] public DateTime? BidbondStartTime { get; set; } /// /// 履约保证金退还时间 /// [DataMember] public DateTime? BidbondEndTime { get; set; } /// /// Experts /// [DataMember] public string Experts { get { return _Experts; } set { _Experts = value; } } #endregion Model #region Visiter /// /// 属性访问器 /// /// 属性名 /// 索引 /// 是否将指定属性设置为传入值 /// 需要赋予的值 /// 与名称对应的属性值 public object Visiter(string name, int? index = -1, bool isChange = false, object value = null) { object theValue = null; if ("ID".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1) { this.ID = isChange ? MyConvert.ConvertToInt(value) : ID; theValue = this.ID; } else if ("ProjectId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2) { this.ProjectId = isChange ? MyConvert.ConvertToInt(value) : ProjectId; theValue = this.ProjectId; } else if ("IsSignup".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3) { this.IsSignup = isChange ? MyConvert.ConvertToInt(value) : IsSignup; theValue = this.IsSignup; } else if ("SignupPerson".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4) { this.SignupPerson = isChange ? MyConvert.ConvertToString(value) : SignupPerson; theValue = this.SignupPerson; } else if ("SignupTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5) { this.SignupTime = isChange ? MyConvert.ConvertToDateTime(value) : SignupTime; theValue = this.SignupTime; } else if ("SignupAllowance".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6) { this.SignupAllowance = isChange ? MyConvert.ConvertToDecimal(value) : SignupAllowance; theValue = this.SignupAllowance; } else if ("DocumentStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7) { this.DocumentStatus = isChange ? MyConvert.ConvertToInt(value) : DocumentStatus; theValue = this.DocumentStatus; } else if ("DocumentPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8) { this.DocumentPrice = isChange ? MyConvert.ConvertToDecimal(value) : DocumentPrice; theValue = this.DocumentPrice; } else if ("DocumentManager".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9) { this.DocumentManager = isChange ? MyConvert.ConvertToString(value) : DocumentManager; theValue = this.DocumentManager; } else if ("TenderStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10) { this.TenderStatus = isChange ? MyConvert.ConvertToInt(value) : TenderStatus; theValue = this.TenderStatus; } else if ("TenderPerson".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11) { this.TenderPerson = isChange ? MyConvert.ConvertToString(value) : TenderPerson; theValue = this.TenderPerson; } else if ("TenderPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12) { this.TenderPrice = isChange ? MyConvert.ConvertToDecimal(value) : TenderPrice; theValue = this.TenderPrice; } else if ("TenderDraw".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13) { this.TenderDraw = isChange ? MyConvert.ConvertToDecimal(value) : TenderDraw; theValue = this.TenderDraw; } else if ("TenderDepositStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14) { this.TenderDepositStatus = isChange ? MyConvert.ConvertToInt(value) : TenderDepositStatus; theValue = this.TenderDepositStatus; } else if ("TenderDepositStartTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15) { this.TenderDepositStartTime = isChange ? MyConvert.ConvertToDateTime(value) : TenderDepositStartTime; theValue = this.TenderDepositStartTime; } else if ("TenderDepositEndTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16) { this.TenderDepositEndTime = isChange ? MyConvert.ConvertToDateTime(value) : TenderDepositEndTime; theValue = this.TenderDepositEndTime; } else if ("UnitId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17) { this.UnitId = isChange ? MyConvert.ConvertToInt(value) : UnitId; theValue = this.UnitId; } else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18) { this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime; theValue = this.LastUpdateTime; } else if ("LastUpdateName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19) { this.LastUpdateName = isChange ? MyConvert.ConvertToString(value) : LastUpdateName; theValue = this.LastUpdateName; } else if ("IntroductionPath".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20) { this.IntroductionPath = isChange ? MyConvert.ConvertToString(value) : IntroductionPath; theValue = this.IntroductionPath; } else if ("IntroductionPathVersionNo".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21) { this.IntroductionPathVersionNo = isChange ? MyConvert.ConvertToString(value) : IntroductionPathVersionNo; theValue = this.IntroductionPathVersionNo; } else if ("IntroductionPathSize".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22) { this.IntroductionPathSize = isChange ? MyConvert.ConvertToInt(value) : IntroductionPathSize; theValue = this.IntroductionPathSize; } else if ("FaceSlipPath".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23) { this.FaceSlipPath = isChange ? MyConvert.ConvertToString(value) : FaceSlipPath; theValue = this.FaceSlipPath; } else if ("FaceSlipPathVersionNo".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24) { this.FaceSlipPathVersionNo = isChange ? MyConvert.ConvertToString(value) : FaceSlipPathVersionNo; theValue = this.FaceSlipPathVersionNo; } else if ("FaceSlipPathSize".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25) { this.FaceSlipPathSize = isChange ? MyConvert.ConvertToInt(value) : FaceSlipPathSize; theValue = this.FaceSlipPathSize; } else if ("FaceSlipFlag".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26) { this.FaceSlipFlag = isChange ? MyConvert.ConvertToInt(value) : FaceSlipFlag; theValue = this.FaceSlipFlag; } else if ("IntroductionFlag".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27) { this.IntroductionFlag = isChange ? MyConvert.ConvertToInt(value) : IntroductionFlag; theValue = this.IntroductionFlag; } else if ("IntroductionUserId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28) { this.IntroductionUserId = isChange ? MyConvert.ConvertToInt(value) : IntroductionUserId; theValue = this.IntroductionUserId; } else if ("FaceSlipUserId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29) { this.FaceSlipUserId = isChange ? MyConvert.ConvertToInt(value) : FaceSlipUserId; theValue = this.FaceSlipUserId; } else if ("BidbondStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30) { this.BidbondStatus = isChange ? MyConvert.ConvertToInt(value) : BidbondStatus; theValue = this.BidbondStatus; } else if ("BidbondStartTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 31) { this.BidbondStartTime = isChange ? MyConvert.ConvertToDateTime(value) : BidbondStartTime; theValue = this.BidbondStartTime; } else if ("BidbondEndTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 32) { this.BidbondEndTime = isChange ? MyConvert.ConvertToDateTime(value) : BidbondEndTime; theValue = this.BidbondEndTime; } else if ("Experts".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 33) { this.Experts = isChange ? MyConvert.ConvertToString(value) : Experts; theValue = this.Experts; } return theValue; } #endregion Visiter } }