/// <summary> /// 设置附件项 /// </summary> /// <param name="item">附件项</param> public void SetItem(Item item) { if (item == null || item.IsTransient()) { throw new ArgumentException("附件项参数为空!"); } ItemId = item.Id; ItemNo = item.ItemNo; }