add sync unit

This commit is contained in:
vanilia
2025-11-14 14:11:55 +07:00
parent c453aa0aa7
commit fbd8d30ec6
6 changed files with 84 additions and 3 deletions

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"
}