yinbangzhong
2024-06-18 be7a1df7cf42ef9386c7fe7ef3a51c9f6f64dc95
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"` // 机车号
}