123456789101112131415161718192021222324252627282930313233343536 |
- package fetdata
- import (
- "golang-fave/engine/utils"
- "golang-fave/engine/wrapper"
- )
- type ShopProductSpec struct {
- wrap *wrapper.Wrapper
- object *utils.MySql_shop_product_spec
- }
- func (this *ShopProductSpec) load() *ShopProductSpec {
- return this
- }
- func (this *ShopProductSpec) FilterId() int {
- if this == nil {
- return 0
- }
- return this.object.A_filter_id
- }
- func (this *ShopProductSpec) FilterName() string {
- if this == nil {
- return ""
- }
- return this.object.A_filter_name
- }
- func (this *ShopProductSpec) FilterValue() string {
- if this == nil {
- return ""
- }
- return this.object.A_filter_value
- }
|