|
|
@@ -0,0 +1,41 @@
|
|
|
+package datamodels
|
|
|
+
|
|
|
+import "time"
|
|
|
+
|
|
|
+type Ent struct {
|
|
|
+ OcId int64 `json:"ocId" xorm:"'oc_id' bigint not null pk comment('组织ID:公司或机构或单位ID')"`
|
|
|
+ EntName string `json:"entName" xorm:"'ent_qymc' varchar(255) comment('企业名称')"`
|
|
|
+ EntCatId int64 `json:"entCatId" xorm:"'ent_cat_id' bigint comment('组织ID:公司或机构或单位ID')"`
|
|
|
+ EntZch string `json:"entZch" xorm:"'ent_zch' varchar(255) comment('注册号')"`
|
|
|
+ EntTyshxydm string `json:"entTyshxydm" xorm:"'ent_tyshxydm' varchar(255) comment('统一社会信用代码')"`
|
|
|
+ EntClrq string `json:"entClrq" xorm:"'ent_clrq' date comment('成立日期')"`
|
|
|
+ EntFddbr string `json:"entFddbr" xorm:"'ent_fddbr' varchar(32) comment('法定代表人')"`
|
|
|
+ EntLxdh string `json:"entLxdh" xorm:"'ent_lxdh' varchar(32) comment('联系电话')"`
|
|
|
+ EntDzyx string `json:"entDzyx" xorm:"'ent_dzyx' varchar(64) comment('电子邮箱')"`
|
|
|
+ EntZcdz string `json:"entZcdz" xorm:"'ent_zcdz' varchar(255) comment('注册地址')"`
|
|
|
+ EntYzbm string `json:"entYzbm" xorm:"'ent_yzbm' varchar(255) comment('邮政编码')"`
|
|
|
+ EntXzqhdm string `json:"entXzqhdm" xorm:"'ent_xzqhdm' varchar(255) comment('行政区划代码')"`
|
|
|
+ EntXzqhmc string `json:"entXzqhmc" xorm:"'ent_xzqhmc' varchar(255) comment('行政区划名称')"`
|
|
|
+ EntHylbdm string `json:"entHylbdm" xorm:"'ent_hylbdm' varchar(255) comment('行业类别代码')"`
|
|
|
+ EntHylbmc string `json:"entHylbmc" xorm:"'ent_hylbmc' varchar(255) comment('行业类别名称')"`
|
|
|
+ EntJyfw string `json:"entJyfw" xorm:"'ent_jyfw' varchar(255) comment('经营范围')"`
|
|
|
+ EntQywzjd string `json:"entQywzjd" xorm:"'ent_qywzjd' decimal(9,6) comment('企业位置经度')"`
|
|
|
+ EntQywzwd string `json:"entQywzwd" xorm:"'ent_qywzwd' decimal(9,6) comment('企业位置纬度')"`
|
|
|
+
|
|
|
+ EntScjydz string `json:"entScjydz" xorm:"'ent_scjydz' varchar(255) comment('生产/经营地址')"`
|
|
|
+ EntGmqk int `json:"entGmqk" xorm:"'ent_gmqk' int comment('规模情况')"`
|
|
|
+ EntQygm int `json:"entQygm" xorm:"'ent_qygm' int comment('企业规模')"`
|
|
|
+
|
|
|
+ CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
|
|
|
+ CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
|
|
|
+ UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
|
|
|
+ UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
|
|
|
+ DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
|
|
|
+ DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
|
|
|
+ DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+func (t *Ent) TableName() string{
|
|
|
+ return "ent"
|
|
|
+}
|