public UserProgressEntity With( Guid?currentTopicId = default, Guid?currentLevelId = default, Guid?userId = default, Dictionary <Guid, TopicProgressEntity> topicsProgress = default, TaskInfoEntity currentTask = default) => new UserProgressEntity(currentTopicId ?? CurrentTopicId, currentLevelId ?? CurrentLevelId, userId ?? UserId, topicsProgress ?? TopicsProgress, currentTask ?? CurrentTask, Id);
public UserProgressEntity( Guid currentTopicId, Guid currentLevelId, Guid userId, Dictionary <Guid, TopicProgressEntity> topicsProgress, TaskInfoEntity currentTask, Guid id) : base(id) { CurrentTopicId = currentTopicId; CurrentLevelId = currentLevelId; UserId = userId; TopicsProgress = topicsProgress; CurrentTask = currentTask; }