using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KPlan.Forms.Bean { class PartSyncConfigBean { public string from { get; set; } public string to { get; set; } public override bool Equals(object obj) { if (obj != null && obj.GetType() == typeof(PartSyncConfigBean)) { PartSyncConfigBean b = (PartSyncConfigBean)obj; if (to != null) { return to.Equals(b.to); } } return false; } } }