using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EnVisage.Models { public class ParseRecordModel : IBaseModel { public Guid Id { get; set; } public string ProcessID { get; set; } public string ToType { get; set; } public string ToName { get; set; } public string ToField { get; set; } public int? StartPos { get; set; } public int? Length { get; set; } public int? index { get; set; } public string isDelimited { get; set; } public string Delimitor { get; set; } public string AdditionalFormat { get; set; } public bool? Overlay { get; set; } public int? DBFieldFormat { get; set; } public int? TableOrder { get; set; } public bool? ForeignKey { get; set; } public void CopyTo(supt_tbl_RecParser dbObj) { if (dbObj == null) throw new ArgumentNullException(); dbObj.ProcessID = ProcessID; dbObj.ToType = ToType; dbObj.ToName = ToName; dbObj.ToField = ToField; dbObj.StartPos = StartPos; dbObj.Length = Length; dbObj.index = index; dbObj.isDelimited = isDelimited; dbObj.Delimitor = Delimitor; dbObj.AdditionalFormat = AdditionalFormat; dbObj.DBFieldFormat = DBFieldFormat; dbObj.TableOrder = TableOrder; dbObj.ForeignKey = ForeignKey; } } }