yinbangzhong
2024-06-20 a5429b8a83e1b4a48c2a3b9b0b475f08a114837c
request/text.go
@@ -1,6 +1,7 @@
package request
type AddTextReq struct {
   Id               uint   `gorm:"primaryKey;autoIncrement:true" json:"id"`
   Content          string `gorm:"type:varchar(255);not null;default:'';comment:音频名称" json:"content" binding:"required"`                // 音频名称
   LocomotiveNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:机车号" json:"locomotiveNumber"  binding:"required"` // 机车号
}