From 1d5cb2f03c706c4b1cc36f50fd431f98fdbe7101 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 13 十二月 2023 15:23:33 +0800 Subject: [PATCH] 对number的验证及不重复 --- models/file_template_attachment.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/models/file_template_attachment.go b/models/file_template_attachment.go index 59f6853..575213e 100644 --- a/models/file_template_attachment.go +++ b/models/file_template_attachment.go @@ -15,6 +15,7 @@ Name string `json:"name" gorm:"type:varchar(63);comment:妯$増鍚嶇О"` AttachmentId uint `json:"attachmentId" gorm:"comment:闄勪欢琛ㄥ閿�"` Attachment Attachment `json:"attachment" gorm:"foreignKey:AttachmentId;references:Id"` + TableInfo string `json:"tableInfo" gorm:"type:varchar(31);comment:琛ㄥ悕"` } FileTemplateAttachmentSearch struct { FileTemplateAttachment -- Gitblit v1.8.0