From c92534229c83436ffe9e6752209200dd70b77808 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 17 八月 2023 19:19:44 +0800
Subject: [PATCH] add

---
 model/business.go |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/model/business.go b/model/business.go
index 9420a5c..b7a11a7 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
@@ -14,6 +12,6 @@
 		EnterpriseNature    EnterpriseNature
 		EnterpriseScaleId   int `json:"enterprise_scale_id" gorm:"column:enterprise_scale_id;type:int(11);comment:浼佷笟瑙勬ā"`
 		EnterpriseScale     EnterpriseScale
-		BusinessScope       string `json:"business_scope" gorm:"column:business_scope;type:varchar(255);comment:缁忚惀鑼冨洿"`
+		BusinessScope       string `json:"business_scope" gorm:"column:business_scope;type:text;comment:缁忚惀鑼冨洿"`
 	}
 )

--
Gitblit v1.8.0