21 lines
598 B
Go
21 lines
598 B
Go
package model
|
|
|
|
// ManageEnterprise 企业管理数据模型
|
|
type ManageEnterprise struct {
|
|
Model
|
|
Title string `gorm:"column:title;type:varchar(30);default:null;comment:企业名称" json:"title"`
|
|
Name string `gorm:"column:name;type:varchar(50);default:null;comment:企业联系人" json:"name"`
|
|
Mobile string `gorm:"column:mobile;type:varchar(15);default:null;comment:企业联系方式" json:"mobile"`
|
|
Area
|
|
ModelDeleted
|
|
ModelAt
|
|
}
|
|
|
|
func (m *ManageEnterprise) TableName() string {
|
|
return "manage_enterprise"
|
|
}
|
|
|
|
func NewManageEnterprise() *ManageEnterprise {
|
|
return &ManageEnterprise{}
|
|
}
|