mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-23 23:05:44 +00:00
unfinished purchase
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
)
|
||||
|
||||
type ApprovalBaseDTO struct {
|
||||
Id uint `json:"id"`
|
||||
StepNumber uint16 `json:"step_number"`
|
||||
StepName string `json:"step_name"`
|
||||
Action *string `json:"action"`
|
||||
@@ -27,6 +28,7 @@ type ApprovalGroupDTO struct {
|
||||
|
||||
func ToApprovalDTO(e entity.Approval) ApprovalBaseDTO {
|
||||
dto := ApprovalBaseDTO{
|
||||
Id: e.Id,
|
||||
Notes: e.Notes,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user