package dto

// ProjectTaskDTO represents the data structure for transferring project task data.
type ProjectTaskDTO struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
	ProjectID   string  `json:"projectId"`
	CreatedAt   string  `json:"createdAt"` // Use ISO8601 format
	UpdatedAt   string  `json:"updatedAt"` // Use ISO8601 format
}

// ProjectTaskCreateDTO is used for creating a new project task.
type ProjectTaskCreateDTO struct {
	Name        string  `json:"name"`
	Description *string `json:"description"`
	ProjectID   string  `json:"projectId"`
}

// ProjectTaskUpdateDTO is used for updating an existing project task.
type ProjectTaskUpdateDTO struct {
	Name        *string `json:"name"`
	Description *string `json:"description"`
	ProjectID   *string `json:"projectId"`
}
