|
@@ -2,11 +2,10 @@ package share_material_model
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
|
"fmt"
|
|
"fmt"
|
|
|
- "github.com/astaxie/beego"
|
|
|
|
|
- "github.com/astaxie/beego/orm"
|
|
|
|
|
"fohow.com/apps/models/product_model"
|
|
"fohow.com/apps/models/product_model"
|
|
|
- "fohow.com/apps/models/project_model"
|
|
|
|
|
"fohow.com/cache"
|
|
"fohow.com/cache"
|
|
|
|
|
+ "github.com/astaxie/beego"
|
|
|
|
|
+ "github.com/astaxie/beego/orm"
|
|
|
"time"
|
|
"time"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
@@ -60,9 +59,8 @@ type ProductInfo struct {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type ProjectInfo struct {
|
|
type ProjectInfo struct {
|
|
|
- Id int64 `orm:"column(-)" json:"id"` // int(11)
|
|
|
|
|
- Title string `orm:"column(-)" json:"title"` // varchar(100)
|
|
|
|
|
- IntroduceAlbum []*project_model.ProjectPicture `orm:"-" json:"introduce_pics"`
|
|
|
|
|
|
|
+ Id int64 `orm:"column(-)" json:"id"` // int(11)
|
|
|
|
|
+ Title string `orm:"column(-)" json:"title"` // varchar(100)
|
|
|
//当前已资助金额总数
|
|
//当前已资助金额总数
|
|
|
CurrentInvestment int64 `orm:"-" json:"current_funding"`
|
|
CurrentInvestment int64 `orm:"-" json:"current_funding"`
|
|
|
MinFunding int64 `orm:"column(-);null" json:"min_funding"` // int(11)
|
|
MinFunding int64 `orm:"column(-);null" json:"min_funding"` // int(11)
|