feat: 大屏改为纯流式自适应布局,新增KPI带与产线动态拓扑地图
This commit is contained in:
@@ -4,6 +4,7 @@ package ent
|
||||
|
||||
import (
|
||||
"bj_power_wms/ent/attachment"
|
||||
"bj_power_wms/ent/backuprecord"
|
||||
"bj_power_wms/ent/eventlog"
|
||||
"bj_power_wms/ent/inbounddetail"
|
||||
"bj_power_wms/ent/inboundorder"
|
||||
@@ -21,6 +22,7 @@ import (
|
||||
"bj_power_wms/ent/semifinished"
|
||||
"bj_power_wms/ent/stocktakeitem"
|
||||
"bj_power_wms/ent/stocktakeorder"
|
||||
"bj_power_wms/ent/sysconfig"
|
||||
"bj_power_wms/ent/user"
|
||||
"bj_power_wms/ent/zone"
|
||||
"bj_power_wms/schema"
|
||||
@@ -48,6 +50,40 @@ func init() {
|
||||
attachmentDescCreatedAt := attachmentFields[15].Descriptor()
|
||||
// attachment.DefaultCreatedAt holds the default value on creation for the created_at field.
|
||||
attachment.DefaultCreatedAt = attachmentDescCreatedAt.Default.(func() int64)
|
||||
backuprecordFields := schema.BackupRecord{}.Fields()
|
||||
_ = backuprecordFields
|
||||
// backuprecordDescExecutedAt is the schema descriptor for executed_at field.
|
||||
backuprecordDescExecutedAt := backuprecordFields[0].Descriptor()
|
||||
// backuprecord.DefaultExecutedAt holds the default value on creation for the executed_at field.
|
||||
backuprecord.DefaultExecutedAt = backuprecordDescExecutedAt.Default.(func() int64)
|
||||
// backuprecordDescTotalSize is the schema descriptor for total_size field.
|
||||
backuprecordDescTotalSize := backuprecordFields[4].Descriptor()
|
||||
// backuprecord.DefaultTotalSize holds the default value on creation for the total_size field.
|
||||
backuprecord.DefaultTotalSize = backuprecordDescTotalSize.Default.(int64)
|
||||
// backuprecordDescStatus is the schema descriptor for status field.
|
||||
backuprecordDescStatus := backuprecordFields[6].Descriptor()
|
||||
// backuprecord.DefaultStatus holds the default value on creation for the status field.
|
||||
backuprecord.DefaultStatus = backuprecordDescStatus.Default.(string)
|
||||
// backuprecord.StatusValidator is a validator for the "status" field. It is called by the builders before save.
|
||||
backuprecord.StatusValidator = backuprecordDescStatus.Validators[0].(func(string) error)
|
||||
// backuprecordDescOperator is the schema descriptor for operator field.
|
||||
backuprecordDescOperator := backuprecordFields[7].Descriptor()
|
||||
// backuprecord.DefaultOperator holds the default value on creation for the operator field.
|
||||
backuprecord.DefaultOperator = backuprecordDescOperator.Default.(string)
|
||||
// backuprecord.OperatorValidator is a validator for the "operator" field. It is called by the builders before save.
|
||||
backuprecord.OperatorValidator = backuprecordDescOperator.Validators[0].(func(string) error)
|
||||
// backuprecordDescChecksum is the schema descriptor for checksum field.
|
||||
backuprecordDescChecksum := backuprecordFields[8].Descriptor()
|
||||
// backuprecord.DefaultChecksum holds the default value on creation for the checksum field.
|
||||
backuprecord.DefaultChecksum = backuprecordDescChecksum.Default.(string)
|
||||
// backuprecord.ChecksumValidator is a validator for the "checksum" field. It is called by the builders before save.
|
||||
backuprecord.ChecksumValidator = backuprecordDescChecksum.Validators[0].(func(string) error)
|
||||
// backuprecordDescScope is the schema descriptor for scope field.
|
||||
backuprecordDescScope := backuprecordFields[9].Descriptor()
|
||||
// backuprecord.DefaultScope holds the default value on creation for the scope field.
|
||||
backuprecord.DefaultScope = backuprecordDescScope.Default.(string)
|
||||
// backuprecord.ScopeValidator is a validator for the "scope" field. It is called by the builders before save.
|
||||
backuprecord.ScopeValidator = backuprecordDescScope.Validators[0].(func(string) error)
|
||||
eventlogFields := schema.EventLog{}.Fields()
|
||||
_ = eventlogFields
|
||||
// eventlogDescEventType is the schema descriptor for event_type field.
|
||||
@@ -548,6 +584,20 @@ func init() {
|
||||
stocktakeorderDescCreatedAt := stocktakeorderFields[11].Descriptor()
|
||||
// stocktakeorder.DefaultCreatedAt holds the default value on creation for the created_at field.
|
||||
stocktakeorder.DefaultCreatedAt = stocktakeorderDescCreatedAt.Default.(func() int64)
|
||||
sysconfigFields := schema.SysConfig{}.Fields()
|
||||
_ = sysconfigFields
|
||||
// sysconfigDescKey is the schema descriptor for key field.
|
||||
sysconfigDescKey := sysconfigFields[0].Descriptor()
|
||||
// sysconfig.KeyValidator is a validator for the "key" field. It is called by the builders before save.
|
||||
sysconfig.KeyValidator = sysconfigDescKey.Validators[0].(func(string) error)
|
||||
// sysconfigDescValue is the schema descriptor for value field.
|
||||
sysconfigDescValue := sysconfigFields[1].Descriptor()
|
||||
// sysconfig.ValueValidator is a validator for the "value" field. It is called by the builders before save.
|
||||
sysconfig.ValueValidator = sysconfigDescValue.Validators[0].(func(string) error)
|
||||
// sysconfigDescRemark is the schema descriptor for remark field.
|
||||
sysconfigDescRemark := sysconfigFields[2].Descriptor()
|
||||
// sysconfig.RemarkValidator is a validator for the "remark" field. It is called by the builders before save.
|
||||
sysconfig.RemarkValidator = sysconfigDescRemark.Validators[0].(func(string) error)
|
||||
userFields := schema.User{}.Fields()
|
||||
_ = userFields
|
||||
// userDescRole is the schema descriptor for role field.
|
||||
|
||||
Reference in New Issue
Block a user