aa
This commit is contained in:
@@ -761,3 +761,16 @@ func (*StoreAudit) TableIndex() [][]string {
|
||||
[]string{"UserID"},
|
||||
}
|
||||
}
|
||||
|
||||
type Brand struct {
|
||||
ModelIDCULD
|
||||
|
||||
Name string `orm:"size(255)" json:"name"` //品牌名
|
||||
Logo string `orm:"size(255)" json:"logo"` //品牌logo
|
||||
}
|
||||
|
||||
func (*Brand) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Name"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user