cargo-platform/cmd/api/internal/domain/cost_component_group.go
teguh nugroho dc28c6f6fc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
cost_component
2026-08-22 11:36:50 +07:00

31 lines
1.3 KiB
Go

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package domain
import (
"time"
)
const TableNameCostComponentGroup = "cost_component_group"
// CostComponentGroup mapped from table <cost_component_group>
type CostComponentGroup struct {
ID string `gorm:"column:id;type:character(26);not null" json:"id"`
Name *string `gorm:"column:name;type:character varying(255)" json:"name"`
MerchantID *string `gorm:"column:merchant_id;type:character(26)" json:"merchant_id"`
Code *string `gorm:"column:code;type:character varying(100)" json:"code"`
Inc *int32 `gorm:"column:inc;type:integer" json:"inc"`
Value *string `gorm:"column:value;type:character varying(255)" json:"value"`
CreatedBy *string `gorm:"column:created_by;type:character(26)" json:"created_by"`
CreatedOn *time.Time `gorm:"column:created_on;type:timestamp without time zone" json:"created_on"`
UpdatedBy *string `gorm:"column:updated_by;type:character(26)" json:"updated_by"`
UpdatedOn *time.Time `gorm:"column:updated_on;type:timestamp without time zone" json:"updated_on"`
}
// TableName CostComponentGroup's table name
func (*CostComponentGroup) TableName() string {
return TableNameCostComponentGroup
}