This commit is contained in:
2025-08-06 09:02:16 +08:00
parent 2cddbc3e73
commit c48bae28be
93 changed files with 10628 additions and 36 deletions
+21
View File
@@ -0,0 +1,21 @@
// 自动生成模板PetFamilyPets
package pet
import (
"github.com/flipped-aurora/gin-vue-admin/server/global"
"time"
)
// petFamilyPets表 结构体 PetFamilyPets
type PetFamilyPets struct {
global.GVA_MODEL
FamilyId *int `json:"familyId" form:"familyId" gorm:"comment:家庭ID;column:family_id;size:20;" binding:"required"` //家庭ID
PetId *int `json:"petId" form:"petId" gorm:"comment:宠物ID;column:pet_id;size:20;" binding:"required"` //宠物ID
AddedBy *int `json:"addedBy" form:"addedBy" gorm:"comment:添加者用户ID;column:added_by;size:20;" binding:"required"` //添加者用户ID
AddedAt *time.Time `json:"addedAt" form:"addedAt" gorm:"comment:添加时间;column:added_at;" binding:"required"` //添加时间
}
// TableName petFamilyPets表 PetFamilyPets自定义表名 pet_family_pets
func (PetFamilyPets) TableName() string {
return "pet_family_pets"
}