add sync unit
This commit is contained in:
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package unit
|
||||
|
||||
type MPloy struct {
|
||||
Kode uint `json:"kode" gorm:"primaryKey;autoIncrement;column:kode"`
|
||||
Nama string `json:"nama" gorm:"column:nama"`
|
||||
Jenispoly uint `json:"jenispoly" gorm:"column:jenispoly"`
|
||||
}
|
||||
|
||||
func (MPloy) TableName() string {
|
||||
return "m_poly"
|
||||
}
|
||||
Reference in New Issue
Block a user