1 Star 0 Fork 0

小鱼儿小董子/dongli-platform

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
data.TbInitialProps.go 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
小鱼儿小董子 提交于 2025-02-13 21:31 +08:00 . 1111
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type DataTbInitialProps struct {
_dataMap map[int32]*DataInitialProps
_dataList []*DataInitialProps
}
func NewDataTbInitialProps(_buf []map[string]interface{}) (*DataTbInitialProps, error) {
_dataList := make([]*DataInitialProps, 0, len(_buf))
dataMap := make(map[int32]*DataInitialProps)
for _, _ele_ := range _buf {
if _v, err2 := NewDataInitialProps(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &DataTbInitialProps{_dataList: _dataList, _dataMap: dataMap}, nil
}
func (table *DataTbInitialProps) GetDataMap() map[int32]*DataInitialProps {
return table._dataMap
}
func (table *DataTbInitialProps) GetDataList() []*DataInitialProps {
return table._dataList
}
func (table *DataTbInitialProps) Get(key int32) *DataInitialProps {
return table._dataMap[key]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wanjimao/dongli-platform.git
git@gitee.com:wanjimao/dongli-platform.git
wanjimao
dongli-platform
dongli-platform
v0.0.59

搜索帮助