Documentation ¶
Index ¶
Constants ¶
View Source
const TableNameEnterprise = "t_enterprise"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enterprise ¶
type Enterprise struct { FID int64 `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"` FCreatedAt time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"` FDeletedAt time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"` FUpdatedAt time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"` FRegistryArea int32 `gorm:"column:f_registry_area;not null;default:1" json:"f_registry_area"` // 企业注册地址枚举 1:境内,2:境外,3:港澳台 FBusinessEndTime time.Time `gorm:"column:f_business_end_time;not null;default:1979-01-01 00:08:00+08" json:"f_business_end_time"` // 生产经营期限结束时间 FBusinessStartTime time.Time `gorm:"column:f_business_start_time;not null;default:1979-01-01 00:08:00+08" json:"f_business_start_time"` // 生产经营期限开始时间 FCity int32 `gorm:"column:f_city;not null;default:-1" json:"f_city"` // 所在城市 FCode string `gorm:"column:f_code;not null;default:''::character varying" json:"f_code"` // 统一社会信用代码 FConfirmStatus int32 `gorm:"column:f_confirm_status;not null" json:"f_confirm_status"` // 企业认证状态 1:未认证,2:认证中,3已认证,4认证失败 FCountry int32 `gorm:"column:f_country;not null;default:-1" json:"f_country"` // 所在国家 FDocuments string `gorm:"column:f_documents" json:"f_documents"` // 对于港澳台或外企需要企业证明文件集 FEnterpriseID int64 `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"` // 企业id FIsService bool `gorm:"column:f_is_service;not null" json:"f_is_service"` // 暂无用 是否是供应商 FLicenseURL string `gorm:"column:f_license_url;not null;default:''::character varying" json:"f_license_url"` // 营业执照图片 FName string `gorm:"column:f_name;not null;default:''::character varying" json:"f_name"` // 企业名 FNature string `gorm:"column:f_nature;not null;default:''::character varying" json:"f_nature"` // 企业性质 FProvince int32 `gorm:"column:f_province;not null;default:-1" json:"f_province"` // 所在省份 FQualification string `gorm:"column:f_qualification;not null;default:''::character varying" json:"f_qualification"` // 企业资质 FRegisterAddress string `gorm:"column:f_register_address;not null;default:''::character varying" json:"f_register_address"` // 注册地址 FRegisterFund string `gorm:"column:f_register_fund;not null;default:''::character varying" json:"f_register_fund"` // 注册资本 FScale string `gorm:"column:f_scale;not null;default:''::character varying" json:"f_scale"` // 企业规模 FShortName string `gorm:"column:f_short_name;not null;default:''::character varying" json:"f_short_name"` // 简称 FEnterpriseStatus int32 `gorm:"column:f_enterprise_status;not null" json:"f_enterprise_status"` // 企业状态 1:启用,2:禁用 FType int32 `gorm:"column:f_type;not null" json:"f_type"` // 企业类型 1:自营,2:非自营 FYears string `gorm:"column:f_years;not null;default:''::character varying" json:"f_years"` // 成立年限 FBindInviteUserID string `gorm:"column:f_bind_invite_user_id" json:"f_bind_invite_user_id"` // 绑定的邀请销售人员ID FBindFollowUserID string `gorm:"column:f_bind_follow_user_id" json:"f_bind_follow_user_id"` // 绑定的跟进销售人员ID }
Enterprise mapped from table <t_enterprise>
func (*Enterprise) TableName ¶
func (*Enterprise) TableName() string
TableName Enterprise's table name
Click to show internal directories.
Click to hide internal directories.