BE-MiniERP/modules/inventory/models/warehouse.go
2025-06-22 23:23:26 +07:00

16 lines
415 B
Go

package models
import "time"
type Warehouse struct {
ID uint `gorm:"primaryKey" json:"id"`
Kode string `gorm:"not null;unique" json:"kode"`
Name string `gorm:"not null" json:"name"`
Address string `json:"address"`
Stackholder string `json:"stackholder"`
Number string `json:"number"`
Description string `json:"description"`
CreatedAt time.Time
UpdatedAt time.Time
}