refactor: shorten model and table prefixes
This commit is contained in:
@@ -144,7 +144,7 @@ type WorkspaceCronPlanDTO struct {
|
||||
Owner string `json:"owner"`
|
||||
}
|
||||
|
||||
func projectDTO(project models.SenlinAgentProject) ProjectDTO {
|
||||
func projectDTO(project models.SaProject) ProjectDTO {
|
||||
return ProjectDTO{
|
||||
ID: project.Identity,
|
||||
Name: project.Name,
|
||||
|
||||
Reference in New Issue
Block a user