53 lines
2.5 KiB
Go
53 lines
2.5 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model操作代码。
|
||
// 生成日期:2023-08-14 11:24:31
|
||
// 生成路径: internal/app/wxApplet/model/bus_labourservice.go
|
||
// 生成人:gfast
|
||
// desc:劳务公司
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package model
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// BusLabourserviceInfoRes is the golang structure for table bus_labourservice.
|
||
type BusLabourserviceInfoRes struct {
|
||
gmeta.Meta `orm:"table:bus_labourservice"`
|
||
Id int64 `orm:"id,primary" json:"id"` // 主键ID
|
||
Name string `orm:"name" json:"name"` // 劳务公司
|
||
Principal string `orm:"principal" json:"principal"` // 负责人
|
||
Phone string `orm:"phone" json:"phone"` // 联系电话
|
||
Custodian string `orm:"custodian" json:"custodian"` // 管理人
|
||
CustodianPhone string `orm:"custodian_phone" json:"custodianPhone"` // 管理人联系电话
|
||
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"` // 删除时间
|
||
Remark string `orm:"remark" json:"remark"` // 备注
|
||
}
|
||
|
||
type BusLabourserviceListRes struct {
|
||
Id int64 `json:"id"`
|
||
Name string `json:"name"`
|
||
Principal string `json:"principal"`
|
||
Phone string `json:"phone"`
|
||
Custodian string `json:"custodian"`
|
||
CustodianPhone string `json:"custodianPhone"`
|
||
CreatedAt *gtime.Time `json:"createdAt"`
|
||
Remark string `json:"remark"`
|
||
}
|
||
|
||
type BusLabourserviceFileRes struct {
|
||
gmeta.Meta `orm:"table:bus_labourservice_file"`
|
||
Id int64 `orm:"id,primary" json:"id" dc:"资料ID"`
|
||
Pid int64 `orm:"pid" json:"pid" dc:"劳务公司主键ID"`
|
||
Type string `orm:"type" json:"type" dc:"资料类型"`
|
||
Name string `orm:"name" json:"name" dc:"文件名称"`
|
||
Path string `orm:"path" json:"path" dc:"路径"`
|
||
}
|