zhangqian
2023-08-11 ae6883ce426727efca4facab973d814ae66c69c2
model/business.go
@@ -1,12 +1,10 @@
package model
import "time"
type (
   Business struct {
      Representative      string    `json:"representative" gorm:"column:representative;type:varchar(255);comment:法人代表"`
      RegistrationTime    time.Time `json:"registration_time" gorm:"column:registration_time;type:datetime;default:1970-01-01 08:00:00;comment:注册时间"`
      RegisteredCapitalId int       `json:"registered_capital_id" gorm:"column:registered_capital_id;type:int(11);comment:注册资金"`
      Representative      string      `json:"representative" gorm:"column:representative;type:varchar(255);comment:法人代表"`
      RegistrationTime    *CustomTime `json:"registration_time" gorm:"column:registration_time;type:datetime;default:1970-01-01 08:00:00;comment:注册时间"`
      RegisteredCapitalId int         `json:"registered_capital_id" gorm:"column:registered_capital_id;type:int(11);comment:注册资金"`
      RegisteredCapital   RegisteredCapital
      IndustryId          int `json:"industry_id" gorm:"column:industry_id;type:int(11);comment:所属行业"`
      Industry            Industry