refactor: shorten model and table prefixes
This commit is contained in:
@@ -116,7 +116,7 @@ func currentInboxUser(c *gin.Context) (uint, bool) {
|
||||
return userID, true
|
||||
}
|
||||
|
||||
func inboxItemDTO(item models.SenlinAgentInboxItem) InboxItemDTO {
|
||||
func inboxItemDTO(item models.SaInboxItem) InboxItemDTO {
|
||||
return InboxItemDTO{
|
||||
ID: item.Identity, ProjectID: item.ProjectIdentity, SourceType: item.SourceType,
|
||||
Title: item.Title, Body: item.Body, Status: item.Status,
|
||||
|
||||
Reference in New Issue
Block a user