/// <summary> /// 更新 /// </summary> /// <param name="info"></param> public void Update(OfflineStoreInfo info) { info.CheckNotNull(nameof(info)); ApplyEvent(new OfflineStoreUpdatedEvent(info)); }
public OfflineStore(Guid id, Guid userId, OfflineStoreInfo info) : base(id) { info.CheckNotNull(nameof(info)); ApplyEvent(new OfflineStoreCreatedEvent(userId, info)); }