public virtual GoodIdentificationStateRemovedDto NewGoodIdentificationStateRemoved(string goodIdentificationTypeId) { var e = new GoodIdentificationStateRemovedDto(); var eId = NewGoodIdentificationEventId(goodIdentificationTypeId); e.GoodIdentificationEventId = eId; return(e); }
public virtual GoodIdentificationStateRemovedDto ToGoodIdentificationStateRemovedDto(IGoodIdentificationStateRemoved e) { var dto = new GoodIdentificationStateRemovedDto(); dto.GoodIdentificationEventId = e.GoodIdentificationEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; return(dto); }