model

package
v1.0.1-rel-02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EsContactPerson

type EsContactPerson struct {
	TenantId                   string      `json:"tenant_id"`
	IsRegistered               bool        `json:"is_registered"`
	IsAccountContact           bool        `json:"is_account_contact"`
	OwnerShopMemberId          int64       `json:"owner_shop_member_id"`
	DefaultContactInfoTypeId   int64       `json:"default_contact_info_type_id"`
	IsInactive                 bool        `json:"is_inactive"`
	CreatedAt                  int         `json:"created_at"`
	IsLead                     bool        `json:"is_lead"`
	Description                string      `json:"description"`
	LanguageId                 int64       `json:"language_id"`
	ContactId                  string      `json:"contact_id"`
	Type                       string      `json:"type"`
	RegistrationType           string      `json:"registration_type"`
	LocationId                 int64       `json:"location_id"`
	UpdatedAt                  int         `json:"updated_at"`
	AccountName                interface{} `json:"account_name"`
	OwnerShopId                int64       `json:"owner_shop_id"`
	Alias                      string      `json:"alias"`
	Id                         string      `json:"id"`
	State                      string      `json:"state"`
	TimeZoneId                 int64       `json:"time_zone_id"`
	Slug                       string      `json:"slug"`
	ShopMemberCode             string      `json:"shop_member_code"`
	ShopMemberId               int64       `json:"shop_member_id"`
	DefaultContactInfoTypeName string      `json:"default_contact_info_type_name"`
	AcType                     int         `json:"ac_type"`
	Avatar                     string      `json:"avatar"`
	IsDefault                  bool        `json:"is_default"`
	ShopName                   interface{} `json:"shop_name"`
	CreatedBy                  int64       `json:"created_by"`
	IsApplyAccountContact      interface{} `json:"is_apply_account_contact"`
	ContactPersonCode          string      `json:"contact_person_code"`
	AccountId                  interface{} `json:"account_id"`
	RegisterSrc                int         `json:"register_src"`
	DefaultContactInfoValue    string      `json:"default_contact_info_value"`
	RelationCount              int         `json:"relation_count"`
	Name                       string      `json:"name"`
	UpdatedBy                  int64       `json:"updated_by"`
	DefaultPhone               string      `json:"default_phone"`
	OwnerShopName              string      `json:"owner_shop_name"`
	OwnerShopMemberName        string      `json:"owner_shop_member_name"`
	OwnerType                  string      `json:"owner_type"`
}

type EsSysDept

type EsSysDept struct {
	baseesmodel.BaseEsModel

	DeptId   string `json:"dept_id"`
	DeptName string `json:"dept_name"`
}

func NewEsSysDept

func NewEsSysDept() *EsSysDept

func (*EsSysDept) CreateAliasIndex

func (m *EsSysDept) CreateAliasIndex() error

func (*EsSysDept) GetMapping

func (*EsSysDept) GetMapping() string

获取mappingString

func (*EsSysDept) TableName

func (*EsSysDept) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL