first commit api production-result

This commit is contained in:
MacBook Air M1
2026-01-02 11:24:26 +07:00
parent 10f42ed9c4
commit 39909d1c2e
8 changed files with 523 additions and 3 deletions
@@ -0,0 +1,43 @@
package dto
import "time"
type ProductionResultDTO struct {
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Woa float64 `json:"woa"`
Bw float64 `json:"bw"`
StdBw float64 `json:"std_bw"`
Uniformity float64 `json:"uniformity"`
StdUniformity string `json:"std_uniformity"`
DepKum float64 `json:"dep_kum"`
DepStd float64 `json:"dep_std"`
ButiranUtuh int64 `json:"butiran_utuh"`
ButiranPutih int64 `json:"butiran_putih"`
ButiranRetak int64 `json:"butiran_retak"`
ButiranPecah int64 `json:"butiran_pecah"`
ButiranJumlah int64 `json:"butiran_jumlah"`
TotalButir int64 `json:"total_butir"`
KgUtuh float64 `json:"kg_utuh"`
KgPutih float64 `json:"kg_putih"`
KgRetak float64 `json:"kg_retak"`
KgPecah float64 `json:"kg_pecah"`
KgJumlah float64 `json:"kg_jumlah"`
TotalKg float64 `json:"total_kg"`
PersenUtuh float64 `json:"persen_utuh"`
PersenPutih float64 `json:"persen_putih"`
PersenRetak float64 `json:"persen_retak"`
PersenPecah float64 `json:"persen_pecah"`
Hd float64 `json:"hd"`
HdStd float64 `json:"hd_std"`
Fi float64 `json:"fi"`
FiStd float64 `json:"fi_std"`
Em float64 `json:"em"`
EmStd float64 `json:"em_std"`
Ew float64 `json:"ew"`
EwStd float64 `json:"ew_std"`
Fcr float64 `json:"fcr"`
FcrStd float64 `json:"fcr_std"`
Hh float64 `json:"hh"`
HhStd float64 `json:"hh_std"`
}