123456789101112131415161718192021222324 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package models
- const TableNameBizEdge = "ot_biz_edge"
- // BizEdge mapped from table <ot_biz_edge>
- type BizEdge struct {
- ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
- Source int64 `gorm:"column:source;type:bigint(20);uniqueIndex:ot_biz_edge_pk,priority:2" json:"source"`
- Target int64 `gorm:"column:target;type:bigint(20);uniqueIndex:ot_biz_edge_pk,priority:3" json:"target"`
- Type string `gorm:"column:type;type:varchar(30)" json:"type"`
- BizId int64 `gorm:"column:biz_id;type:bigint(20)" json:"bizid"`
- BizHash string `gorm:"column:biz_hash;type:varchar(100);not null;uniqueIndex:ot_biz_edge_pk,priority:1;comment:业务唯一哈希值" json:"bizhash"` // 业务唯一哈希值
- AppId int64 `gorm:"column:app_id;type:bigint(20)" json:"appid"`
- AppAlias string `gorm:"column:app_alias;type:varchar(30);not null;comment:应用别名" json:"appalias"` // 应用别名
- }
- // TableName BizEdge's table name
- func (*BizEdge) TableName() string {
- return TableNameBizEdge
- }
|