prd_mo_k3cloud.go 1.7 KB
package models

import "time"

//计划订单
//PrdMoK3cloud ..
type PrdMoK3cloud struct {
	tableName         string    `comment:"采集自金蝶k3cloud计划订单" pg:"manufacture.prd_mo_k3cloud,alias:prd_mo_k3cloud"`
	RowId             string    `pg:",pk"`
	BillNo            string    `comment:"订单编号" pg:"bill_no"`
	WorkShopID        int       `comment:"生产车间" pg:"work_shop_id"`
	WorkShopName      string    `comment:"生产车间名称" pg:"work_shop_name"`
	MaterialId        int       `comment:"物料" pg:"material_id"`
	MaterialName      string    `comment:"物料名称" pg:"material_name"`
	MaterialNumber    string    `comment:"物料名称" pg:"material_number"`
	PlanStartDate     time.Time `comment:"计划开工时间" pg:"plan_start_date"`
	PlanFinishDate    time.Time `comment:"计划完工时间" pg:"plan_finish_date"`
	FDate             time.Time `comment:"单据日期" pg:"f_date"`
	Qty               float64   `comment:"数量" pg:"qty"`
	CreateDate        time.Time `comment:"创建时间" pg:"create_date"`
	ModifyDate        time.Time `comment:"修改时间" pg:"modify_date"`
	DataVersion       int64     `comment:"数据版本" pg:"data_version"`
	PrdOrgId          int       `comment:"生产组织" pg:"prd_org_id"`
	PrdOrgName        string    `comment:"生产组织名称" pg:"prd_org_name"`
	UnitName          string    `comment:"单位名称" pg:"unit_name"`
	UnitId            int       `comment:"单位id" pg:"unit_id"`
	Specification     string    `comment:"规格型号" pg:"specification"`
	Description       string    `comment:"备注" pg:"description"`
	Status            int       `comment:"业务状态" pg:"status"`
	JoinProductPlanId int       `comment:"计划管理表的id" pg:"join_product_plan_id"`
}