-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)Issues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.Work related to APIs, services, or controllers.javaPull requests that update java codePull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.Planned feature or strategic goal from the project roadmap.type:featureNew feature related to backend types, DTOs, or models.New feature related to backend types, DTOs, or models.
Milestone
Description
Summary
Add StoryEntity, StoryDto, CreateStoryRequest, and StoryMapper.
Motivation / Problem
Establish domain and API models for the Stories MVP with strict separation of entity vs DTO.
Acceptance Criteria
StoryEntitywith fields:id,authorId,content,createdAt,updatedAt;@Table(name="stories"); timestamps via@PrePersist/@PreUpdate.- DTOs:
StoryDto { id, authorId, content, createdAt, updatedAt },CreateStoryRequest { content }with Bean Validation@NotBlank @Size(min=1, max=1000). StoryMapperentity ↔ dto helpers.- No controller returns JPA entities directly (DTO only).
Target Release
v0.1.2
Notes / Links
docs/weekly-plan/week-5/week-5-plan-backend.md
docs/weekly-plan/week-5/week-5-plan-issues.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)Issues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.Work related to APIs, services, or controllers.javaPull requests that update java codePull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.Planned feature or strategic goal from the project roadmap.type:featureNew feature related to backend types, DTOs, or models.New feature related to backend types, DTOs, or models.