This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

View File

@ -0,0 +1,25 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 17:36:18
// 生成路径: internal/app/test/model/entity/test_contact_info.go
// 生成人yqq
// desc:业主方联系人关联
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// TestContactInfo is the golang structure for table test_contact_info.
type TestContactInfo struct {
gmeta.Meta `orm:"table:test_contact_info, do:true"`
Id interface{} `orm:"id,primary" json:"id"`
OwenerId interface{} `orm:"owener_id" json:"owenerId"`
ContactName interface{} `orm:"contact_name" json:"contactName"`
ContactPost interface{} `orm:"contact_post" json:"contactPost"`
ContactPhone interface{} `orm:"contact_phone" json:"contactPhone"`
Creator interface{} `orm:"creator,primary" json:"creator"`
}

View File

@ -0,0 +1,33 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 16:38:07
// 生成路径: internal/app/test/model/entity/test_follow_info.go
// 生成人yqq
// desc:跟进信息
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestFollowInfo is the golang structure for table test_follow_info.
type TestFollowInfo struct {
gmeta.Meta `orm:"table:test_follow_info, do:true"`
Id interface{} `orm:"id,primary" json:"id"` //
ProjectId interface{} `orm:"project_id" json:"projectId"` // 关联的项目
FollowName interface{} `orm:"follow_name" json:"followName"` // 跟进人姓名
OwnerId interface{} `orm:"owner_id" json:"ownerId"` // 业主名
ContactName interface{} `orm:"contact_name" json:"contactName"` // 对接人姓名
ConPostName interface{} `orm:"con_post_name" json:"conPostName"` // 对接人职称
ContactPhone interface{} `orm:"contact_phone" json:"contactPhone"` // 对接人电话
FollowInfo interface{} `orm:"follow_info" json:"followInfo"` // 跟进情况
FollowFile interface{} `orm:"follow_file" json:"followFile"` // 相关附件
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
Creator interface{} `orm:"creator,primary" json:"creator"` //
}

View File

@ -0,0 +1,31 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 17:51:42
// 生成路径: internal/app/test/model/entity/test_owner_info.go
// 生成人yqq
// desc:业主方基本情况
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestOwnerInfo is the golang structure for table test_owner_info.
type TestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info, do:true"`
Id interface{} `orm:"id,primary" json:"id"` //
CompanyName interface{} `orm:"company_name" json:"companyName"` // 企业名称
CompanyAddress interface{} `orm:"company_address" json:"companyAddress"` // 单位地址
RegistrationType interface{} `orm:"registration_type" json:"registrationType"` // 企业登记注册类型
RegisteredCapital interface{} `orm:"registered_capital" json:"registeredCapital"` // 注册资金
Legaler interface{} `orm:"legaler" json:"legaler"` // 法人代表
LegalerPhone interface{} `orm:"legaler_phone" json:"legalerPhone"` // 法人电话
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
Creator interface{} `orm:"creator,primary" json:"creator"` //
}

View File

@ -0,0 +1,33 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 16:15:09
// 生成路径: internal/app/test/model/entity/test_project_info.go
// 生成人yqq
// desc:项目备案信息
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestProjectInfo is the golang structure for table test_project_info.
type TestProjectInfo struct {
gmeta.Meta `orm:"table:test_project_info, do:true"`
Id interface{} `orm:"id,primary" json:"id"` //
ProjectName interface{} `orm:"project_name" json:"projectName"` // 项目名称
ProjectAddress interface{} `orm:"project_address" json:"projectAddress"` // 单位地址
ProjectLeader interface{} `orm:"project_leader" json:"projectLeader"` // 项目负责人
ResourceName interface{} `orm:"resource_name" json:"resourceName"` // 资源方
OwnerId interface{} `orm:"owner_id" json:"ownerId"` // 业主名id
ProjectType interface{} `orm:"project_type" json:"projectType"` // 项目类型
ProjectInfo interface{} `orm:"project_info" json:"projectInfo"` // 项目概况
ProjectState interface{} `orm:"project_state" json:"projectState"` // 项目状态(0未开始 1进行中 2已完成
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
Creator interface{} `orm:"creator,primary" json:"creator"` //
}

View File

@ -0,0 +1,31 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 17:36:18
// 生成路径: internal/app/test/model/entity/test_contact_info.go
// 生成人yqq
// desc:业主方联系人关联
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// TestContactInfo is the golang structure for table test_contact_info.
type TestContactInfo struct {
gmeta.Meta `orm:"table:test_contact_info"`
Id uint `orm:"id,primary" json:"id"` //
OwenerId uint `orm:"owener_id" json:"owenerId"` //
LinkedOwenerId *LinkedTestContactInfoTestOwnerInfo `orm:"with:id=owener_id" json:"linkedOwenerId"`
ContactName string `orm:"contact_name" json:"contactName"` //
ContactPost string `orm:"contact_post" json:"contactPost"` //
ContactPhone string `orm:"contact_phone" json:"contactPhone"` //
}
type LinkedTestContactInfoTestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
}

View File

@ -0,0 +1,46 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 16:38:07
// 生成路径: internal/app/test/model/entity/test_follow_info.go
// 生成人yqq
// desc:跟进信息
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestFollowInfo is the golang structure for table test_follow_info.
type TestFollowInfo struct {
gmeta.Meta `orm:"table:test_follow_info"`
Id uint `orm:"id,primary" json:"id"` //
ProjectId int `orm:"project_id" json:"projectId"` // 关联的项目
LinkedProjectId *LinkedTestFollowInfoTestProjectInfo `orm:"with:id=project_id" json:"linkedProjectId"`
FollowName string `orm:"follow_name" json:"followName"` // 跟进人姓名
OwnerId uint `orm:"owner_id" json:"ownerId"` // 业主名
LinkedOwnerId *LinkedTestFollowInfoTestOwnerInfo `orm:"with:id=owner_id" json:"linkedOwnerId"`
ContactName string `orm:"contact_name" json:"contactName"` // 对接人姓名
ConPostName string `orm:"con_post_name" json:"conPostName"` // 对接人职称
ContactPhone string `orm:"contact_phone" json:"contactPhone"` // 对接人电话
FollowInfo string `orm:"follow_info" json:"followInfo"` // 跟进情况
FollowFile string `orm:"follow_file" json:"followFile"` // 相关附件
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
}
type LinkedTestFollowInfoTestProjectInfo struct {
gmeta.Meta `orm:"table:test_project_info"`
Id uint `orm:"id" json:"id"` //
ProjectName string `orm:"project_name" json:"projectName"` // 项目名称
}
type LinkedTestFollowInfoTestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
}

View File

@ -0,0 +1,30 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 17:51:42
// 生成路径: internal/app/test/model/entity/test_owner_info.go
// 生成人yqq
// desc:业主方基本情况
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestOwnerInfo is the golang structure for table test_owner_info.
type TestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id,primary" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
CompanyAddress string `orm:"company_address" json:"companyAddress"` // 单位地址
RegistrationType string `orm:"registration_type" json:"registrationType"` // 企业登记注册类型
RegisteredCapital int `orm:"registered_capital" json:"registeredCapital"` // 注册资金
Legaler string `orm:"legaler" json:"legaler"` // 法人代表
LegalerPhone string `orm:"legaler_phone" json:"legalerPhone"` // 法人电话
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
}

View File

@ -0,0 +1,39 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-01 16:15:09
// 生成路径: internal/app/test/model/entity/test_project_info.go
// 生成人yqq
// desc:项目备案信息
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestProjectInfo is the golang structure for table test_project_info.
type TestProjectInfo struct {
gmeta.Meta `orm:"table:test_project_info"`
Id uint `orm:"id,primary" json:"id"` //
ProjectName string `orm:"project_name" json:"projectName"` // 项目名称
ProjectAddress string `orm:"project_address" json:"projectAddress"` // 单位地址
ProjectLeader string `orm:"project_leader" json:"projectLeader"` // 项目负责人
ResourceName string `orm:"resource_name" json:"resourceName"` // 资源方
OwnerId int `orm:"owner_id" json:"ownerId"` // 业主名id
LinkedOwnerId *LinkedTestProjectInfoTestOwnerInfo `orm:"with:id=owner_id" json:"linkedOwnerId"`
ProjectType string `orm:"project_type" json:"projectType"` // 项目类型
ProjectInfo string `orm:"project_info" json:"projectInfo"` // 项目概况
ProjectState int `orm:"project_state" json:"projectState"` // 项目状态(0未开始 1进行中 2已完成
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
}
type LinkedTestProjectInfoTestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
}

View File

@ -0,0 +1,42 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-09-01 17:36:18
// 生成路径: internal/app/test/model/test_contact_info.go
// 生成人yqq
// desc:业主方联系人关联
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// TestContactInfoInfoRes is the golang structure for table test_contact_info.
type TestContactInfoInfoRes struct {
gmeta.Meta `orm:"table:test_contact_info"`
Id uint `orm:"id,primary" json:"id"` //
OwenerId uint `orm:"owener_id" json:"owenerId"` //
LinkedOwenerId *LinkedTestContactInfoTestOwnerInfo `orm:"with:id=owener_id" json:"linkedOwenerId"`
ContactName string `orm:"contact_name" json:"contactName"` //
ContactPost string `orm:"contact_post" json:"contactPost"` //
ContactPhone string `orm:"contact_phone" json:"contactPhone"` //
Creator string `orm:"creator" json:"creator"` //
}
type LinkedTestContactInfoTestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
}
type TestContactInfoListRes struct {
Id uint `json:"id"`
OwenerId uint `json:"owenerId"`
LinkedOwenerId *LinkedTestContactInfoTestOwnerInfo `orm:"with:id=owener_id" json:"linkedOwenerId"`
ContactName string `json:"contactName"`
ContactPost string `json:"contactPost"`
ContactPhone string `json:"contactPhone"`
Creator string `json:"creator"`
}

View File

@ -0,0 +1,62 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-09-01 16:38:07
// 生成路径: internal/app/test/model/test_follow_info.go
// 生成人yqq
// desc:跟进信息
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestFollowInfoInfoRes is the golang structure for table test_follow_info.
type TestFollowInfoInfoRes struct {
gmeta.Meta `orm:"table:test_follow_info"`
Id uint `orm:"id,primary" json:"id"` //
ProjectId int `orm:"project_id" json:"projectId"` // 关联的项目
LinkedProjectId *LinkedTestFollowInfoTestProjectInfo `orm:"with:id=project_id" json:"linkedProjectId"`
FollowName string `orm:"follow_name" json:"followName"` // 跟进人姓名
OwnerId uint `orm:"owner_id" json:"ownerId"` // 业主名
LinkedOwnerId *LinkedTestFollowInfoTestOwnerInfo `orm:"with:id=owner_id" json:"linkedOwnerId"`
ContactName string `orm:"contact_name" json:"contactName"` // 对接人姓名
ConPostName string `orm:"con_post_name" json:"conPostName"` // 对接人职称
ContactPhone string `orm:"contact_phone" json:"contactPhone"` // 对接人电话
FollowInfo string `orm:"follow_info" json:"followInfo"` // 跟进情况
FollowFile string `orm:"follow_file" json:"followFile"` // 相关附件
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
Creator string `orm:"creator" json:"creator"` //
}
type LinkedTestFollowInfoTestProjectInfo struct {
gmeta.Meta `orm:"table:test_project_info"`
Id uint `orm:"id" json:"id"` //
ProjectName string `orm:"project_name" json:"projectName"` // 项目名称
}
type LinkedTestFollowInfoTestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
}
type TestFollowInfoListRes struct {
Id uint `json:"id" dc:"主键ID"`
ProjectId int `json:"projectId" dc:"项目id"`
LinkedProjectId *LinkedTestFollowInfoTestProjectInfo `orm:"with:id=project_id" json:"linkedProjectId"`
FollowName string `json:"followName" dc:"跟进人姓名"`
OwnerId uint `json:"ownerId" dc:"业主名"`
LinkedOwnerId *LinkedTestFollowInfoTestOwnerInfo `orm:"with:id=owner_id" json:"linkedOwnerId"`
ContactName string `json:"contactName" dc:"对接人姓名"`
ConPostName string `json:"conPostName" dc:"对接人职称"`
ContactPhone string `json:"contactPhone" dc:"对接人电话"`
FollowInfo string `json:"followInfo" dc:"跟进情况"`
FollowFile string `json:"followFile" dc:"相关附件"`
CreatedAt *gtime.Time `json:"createdAt"`
Creator string `json:"creator"`
}

View File

@ -0,0 +1,56 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-09-01 17:51:42
// 生成路径: internal/app/test/model/test_owner_info.go
// 生成人yqq
// desc:业主方基本情况
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestOwnerInfoInfoRes is the golang structure for table test_owner_info.
type TestOwnerInfoInfoRes struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id,primary" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
CompanyAddress string `orm:"company_address" json:"companyAddress"` // 单位地址
RegistrationType string `orm:"registration_type" json:"registrationType"` // 企业登记注册类型
RegisteredCapital int `orm:"registered_capital" json:"registeredCapital"` // 注册资金
Legaler string `orm:"legaler" json:"legaler"` // 法人代表
LegalerPhone string `orm:"legaler_phone" json:"legalerPhone"` // 法人电话
Children []*LinkedTestOwnerInfoTestContact `orm:"with:owener_id=id" `
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
Creator string `orm:"creator" json:"creator"` //
}
// 增加owner表子数据array
type LinkedTestOwnerInfoTestContact struct {
gmeta.Meta `orm:"table:test_contact_info"`
Id uint `orm:"id,primary" json:"id"`
OwenerId uint `orm:"owener_id" json:"owenerId"` //业主方id
ContactName string `orm:"contact_name" json:"contactName"` //对接人姓名
ContactPost string `orm:"contact_post" json:"contactPost"` //对接人职称
ContactPhone string `orm:"contact_phone" json:"contactPhone"` //对接人电话
}
type TestOwnerInfoListRes struct {
Id uint `json:"id"`
CompanyName string `json:"companyName"`
CompanyAddress string `json:"companyAddress"`
RegistrationType string `json:"registrationType"`
RegisteredCapital int `json:"registeredCapital"`
Legaler string `json:"legaler"`
LegalerPhone string `json:"legalerPhone"`
Children []*LinkedTestOwnerInfoTestContact `orm:"with:owener_id=id" `
CreatedAt *gtime.Time `json:"createdAt"`
Creator string `json:"creator"`
}

View File

@ -0,0 +1,55 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-09-01 16:15:09
// 生成路径: internal/app/test/model/test_project_info.go
// 生成人yqq
// desc:项目备案信息
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// TestProjectInfoInfoRes is the golang structure for table test_project_info.
type TestProjectInfoInfoRes struct {
gmeta.Meta `orm:"table:test_project_info"`
Id uint `orm:"id,primary" json:"id"` //
ProjectName string `orm:"project_name" json:"projectName"` // 项目名称
ProjectAddress string `orm:"project_address" json:"projectAddress"` // 单位地址
ProjectLeader string `orm:"project_leader" json:"projectLeader"` // 项目负责人
ResourceName string `orm:"resource_name" json:"resourceName"` // 资源方
OwnerId int `orm:"owner_id" json:"ownerId"` // 业主名id
LinkedOwnerId *LinkedTestProjectInfoTestOwnerInfo `orm:"with:id=owner_id" json:"linkedOwnerId"`
ProjectType string `orm:"project_type" json:"projectType"` // 项目类型
ProjectInfo string `orm:"project_info" json:"projectInfo"` // 项目概况
ProjectState int `orm:"project_state" json:"projectState"` // 项目状态(0未开始 1进行中 2已完成
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期
Creator string `orm:"creator" json:"creator"` //
}
type LinkedTestProjectInfoTestOwnerInfo struct {
gmeta.Meta `orm:"table:test_owner_info"`
Id uint `orm:"id" json:"id"` //
CompanyName string `orm:"company_name" json:"companyName"` // 企业名称
}
type TestProjectInfoListRes struct {
Id uint `json:"id"`
ProjectName string `json:"projectName" dc:"项目名称"`
ProjectAddress string `json:"projectAddress" dc:"单位地址"`
ProjectLeader string `json:"projectLeader" dc:"项目负责人"`
ResourceName string `json:"resourceName" dc:"资源方"`
OwnerId int `json:"ownerId" dc:"业主名id"`
LinkedOwnerId *LinkedTestProjectInfoTestOwnerInfo `orm:"with:id=owner_id" json:"linkedOwnerId" `
ProjectType string `json:"projectType" dc:"项目类型"`
ProjectInfo string `json:"projectInfo" dc:"项目概况"`
ProjectState int `json:"projectState" dc:"项目状态(0未开始 1进行中 2已完成"`
CreatedAt *gtime.Time `json:"createdAt" dc:"创建日期"`
Creator string `json:"creator"`
}