初始
This commit is contained in:
31
internal/app/test/model/entity/test_contact_info.go
Normal file
31
internal/app/test/model/entity/test_contact_info.go
Normal 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"` // 企业名称
|
||||
}
|
46
internal/app/test/model/entity/test_follow_info.go
Normal file
46
internal/app/test/model/entity/test_follow_info.go
Normal 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"` // 企业名称
|
||||
}
|
30
internal/app/test/model/entity/test_owner_info.go
Normal file
30
internal/app/test/model/entity/test_owner_info.go
Normal 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"` // 删除日期
|
||||
}
|
39
internal/app/test/model/entity/test_project_info.go
Normal file
39
internal/app/test/model/entity/test_project_info.go
Normal 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"` // 企业名称
|
||||
}
|
Reference in New Issue
Block a user