-
Notifications
You must be signed in to change notification settings - Fork 0
Stories Domain: Entity + DTO + Mapper #50
Copy link
Copy link
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
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.
Type
Fields
Give feedbackNo fields configured for Feature.
Summary
Add
StoryEntity,StoryDto,CreateStoryRequest, andStoryMapper.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.StoryDto { id, authorId, content, createdAt, updatedAt },CreateStoryRequest { content }with Bean Validation@NotBlank @Size(min=1, max=1000).StoryMapperentity ↔ dto helpers.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