代码拉取完成,页面将自动刷新
//------------------------------------------------------------------------------
// <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]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。