feat: 大屏新增虚拟工位滚动栏与多订单轮播,附件表增加删除原因及彻底清除留痕字段
This commit is contained in:
@@ -47,7 +47,7 @@ func init() {
|
||||
// attachment.DefaultDeleted holds the default value on creation for the deleted field.
|
||||
attachment.DefaultDeleted = attachmentDescDeleted.Default.(bool)
|
||||
// attachmentDescCreatedAt is the schema descriptor for created_at field.
|
||||
attachmentDescCreatedAt := attachmentFields[15].Descriptor()
|
||||
attachmentDescCreatedAt := attachmentFields[18].Descriptor()
|
||||
// attachment.DefaultCreatedAt holds the default value on creation for the created_at field.
|
||||
attachment.DefaultCreatedAt = attachmentDescCreatedAt.Default.(func() int64)
|
||||
backuprecordFields := schema.BackupRecord{}.Fields()
|
||||
@@ -84,6 +84,18 @@ func init() {
|
||||
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)
|
||||
// backuprecordDescAckName is the schema descriptor for ack_name field.
|
||||
backuprecordDescAckName := backuprecordFields[10].Descriptor()
|
||||
// backuprecord.DefaultAckName holds the default value on creation for the ack_name field.
|
||||
backuprecord.DefaultAckName = backuprecordDescAckName.Default.(string)
|
||||
// backuprecord.AckNameValidator is a validator for the "ack_name" field. It is called by the builders before save.
|
||||
backuprecord.AckNameValidator = backuprecordDescAckName.Validators[0].(func(string) error)
|
||||
// backuprecordDescAckPhone is the schema descriptor for ack_phone field.
|
||||
backuprecordDescAckPhone := backuprecordFields[11].Descriptor()
|
||||
// backuprecord.DefaultAckPhone holds the default value on creation for the ack_phone field.
|
||||
backuprecord.DefaultAckPhone = backuprecordDescAckPhone.Default.(string)
|
||||
// backuprecord.AckPhoneValidator is a validator for the "ack_phone" field. It is called by the builders before save.
|
||||
backuprecord.AckPhoneValidator = backuprecordDescAckPhone.Validators[0].(func(string) error)
|
||||
eventlogFields := schema.EventLog{}.Fields()
|
||||
_ = eventlogFields
|
||||
// eventlogDescEventType is the schema descriptor for event_type field.
|
||||
|
||||
Reference in New Issue
Block a user