public bool Detach(GoodsElement goods)
 {
     return(goodsList.Remove(goods));
 }
 public void Attach(GoodsElement goods)
 {
     goodsList.Add(goods);
 }