From ae6883ce426727efca4facab973d814ae66c69c2 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 11 八月 2023 16:50:08 +0800 Subject: [PATCH] Merge branch 'master' of ssh://192.168.5.5:29418/aps/crm --- model/business.go | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/model/business.go b/model/business.go index 9420a5c..fe1625f 100644 --- a/model/business.go +++ b/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:娉曚汉浠h〃"` - 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:娉曚汉浠h〃"` + 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 -- Gitblit v1.8.0