12345678910111213141516 |
- package response
- import "time"
- type StockDetailResponse struct {
- Id int64 `excel:"name= " xorm:"pk autoincr notnull comment('')" json:"id" binding:"required"` //
- StockId int64 `excel:"name=股票id " xorm:"bigint(20) notnull comment('股票id')" json:"stockId" binding:"required"` //股票id
- Site30 int `excel:"name=30走势 ,format=1=下降低位,2=上升低位,3=下降高位,4=上升高位,5=上升中位,6=下降中位" xorm:"int(1) notnull default(2) comment('30走势')" json:"site30" binding:"required,oneof=1 2 3 4 5 6 "` //30走势(1下降低位 2上升低位 3下降高位 4上升高位 5上升中位 6下降中位)
- Site60 int `excel:"name=60走势 ,format=1=下降低位,2=上升低位,3=下降高位,4=上升高位,5=上升中位,6=下降中位" xorm:"int(1) notnull default(2) comment('60走势')" json:"site60" binding:"required,oneof=1 2 3 4 5 6 "` //60走势(1下降低位 2上升低位 3下降高位 4上升高位 5上升中位 6下降中位)
- SiteDate int `excel:"name=日线走势 ,format=1=下降低位,2=上升低位,3=下降高位,4=上升高位,5=上升中位,6=下降中位" xorm:"int(1) notnull default(2) comment('日线走势')" json:"siteDate" binding:"required,oneof=1 2 3 4 5 6 "` //日线走势(1下降低位 2上升低位 3下降高位 4上升高位 5上升中位 6下降中位)
- Target int `excel:"name=指标公式 ,format=1=波论,2=顶底" xorm:"int(1) notnull default(2) comment('指标公式')" json:"target" binding:"required,oneof=1 2 "` //指标公式(1波论 2顶底)
- CreateTime time.Time `excel:"name=创建时间 " xorm:"datetime comment('创建时间')" json:"createTime" ` //创建时间
- CreateBy string `excel:"name=创建人 " xorm:"varchar(255) comment('创建人')" json:"createBy" ` //创建人
- UpdateTime time.Time `excel:"name=更新时间 " xorm:"datetime comment('更新时间')" json:"updateTime" ` //更新时间
- UpdateBy string `excel:"name=更新人 " xorm:"varchar(255) comment('更新人')" json:"updateBy" ` //更新人
- }
|