Files
zmkgC/internal/app/system/model/bus_company.go
2025-07-07 20:11:59 +08:00

44 lines
1.7 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-07-28 14:08:14
// 生成路径: internal/app/system/model/bus_company.go
// 生成人gfast
// desc:公司
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusCompanyInfoRes is the golang structure for table bus_company.
type BusCompanyInfoRes struct {
gmeta.Meta `orm:"table:bus_company"`
CompanyId int64 `orm:"company_id,primary" json:"companyId"` // 序号
CompanyName string `orm:"company_name" json:"companyName"` // 公司名称
ProjectId int64 `orm:"project_id" json:"projectId"` // 项目id
Status string `orm:"status" json:"status"` // 帐号状态
CreateBy string `orm:"create_by" json:"createBy"` // 创建者
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新者
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 BusCompanyListRes struct {
CompanyId int64 `json:"companyId"`
CompanyName string `json:"companyName"`
Status string `json:"status"`
CreateBy string `json:"createBy"`
UpdateBy string `json:"updateBy"`
CreatedAt *gtime.Time `json:"createdAt"`
}
type BusCompanyAppListRes struct {
CompanyId int64 `json:"companyId"`
CompanyName string `json:"companyName"`
}