|
@@ -2,16 +2,16 @@ package models
|
2
|
2
|
|
3
|
3
|
//供应商联系人
|
4
|
4
|
type SpSupplierContacts struct {
|
5
|
|
- ID int64 `gorm:"column:id" json:"id" from:"id"`
|
6
|
|
- Name string `gorm:"column:name" json:"name" from:"name"`
|
7
|
|
- Phone string `gorm:"column:phone" json:"phone" from:"phone"`
|
8
|
|
- Address string `gorm:"column:address" json:"address" from:"address"`
|
9
|
|
- IsFirst int64 `gorm:"column:is_first" json:"is_first" from:"is_first"`
|
10
|
|
- SupplierCode string `gorm:"column:supplier_code" json:"supplier_code" from:"supplier_code"`
|
11
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" from:"user_org_id"`
|
12
|
|
- Status int64 `gorm:"column:status" json:"status" from:"status"`
|
13
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" from:"ctime"`
|
14
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" from:"mtime"`
|
|
5
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
6
|
+ Name string `gorm:"column:name" json:"name" form:"name"`
|
|
7
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
8
|
+ Address string `gorm:"column:address" json:"address" form:"address"`
|
|
9
|
+ IsFirst int64 `gorm:"column:is_first" json:"is_first" form:"is_first"`
|
|
10
|
+ SupplierCode string `gorm:"column:supplier_code" json:"supplier_code" form:"supplier_code"`
|
|
11
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
12
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
13
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
14
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
15
|
15
|
}
|
16
|
16
|
|
17
|
17
|
func (SpSupplierContacts) TableName() string {
|