feat: 大屏新增虚拟工位滚动栏与多订单轮播,附件表增加删除原因及彻底清除留痕字段
This commit is contained in:
@@ -345,6 +345,22 @@ func init() {
|
||||
attachment.DefaultDeletedBy = attachmentDescDeletedBy.Default.(string)
|
||||
// attachment.DeletedByValidator is a validator for the "deletedBy" field. It is called by the builders before save.
|
||||
attachment.DeletedByValidator = attachmentDescDeletedBy.Validators[0].(func(string) error)
|
||||
// attachmentDescDeletedReason is the schema descriptor for deletedReason field.
|
||||
attachmentDescDeletedReason := attachmentFields[17].Descriptor()
|
||||
// attachment.DefaultDeletedReason holds the default value on creation for the deletedReason field.
|
||||
attachment.DefaultDeletedReason = attachmentDescDeletedReason.Default.(string)
|
||||
// attachment.DeletedReasonValidator is a validator for the "deletedReason" field. It is called by the builders before save.
|
||||
attachment.DeletedReasonValidator = attachmentDescDeletedReason.Validators[0].(func(string) error)
|
||||
// attachmentDescPurgedAt is the schema descriptor for purgedAt field.
|
||||
attachmentDescPurgedAt := attachmentFields[18].Descriptor()
|
||||
// attachment.DefaultPurgedAt holds the default value on creation for the purgedAt field.
|
||||
attachment.DefaultPurgedAt = attachmentDescPurgedAt.Default.(int64)
|
||||
// attachmentDescPurgedBy is the schema descriptor for purgedBy field.
|
||||
attachmentDescPurgedBy := attachmentFields[19].Descriptor()
|
||||
// attachment.DefaultPurgedBy holds the default value on creation for the purgedBy field.
|
||||
attachment.DefaultPurgedBy = attachmentDescPurgedBy.Default.(string)
|
||||
// attachment.PurgedByValidator is a validator for the "purgedBy" field. It is called by the builders before save.
|
||||
attachment.PurgedByValidator = attachmentDescPurgedBy.Validators[0].(func(string) error)
|
||||
// attachmentDescID is the schema descriptor for id field.
|
||||
attachmentDescID := attachmentFields[0].Descriptor()
|
||||
// attachment.IDValidator is a validator for the "id" field. It is called by the builders before save.
|
||||
@@ -383,6 +399,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 ackName field.
|
||||
backuprecordDescAckName := backuprecordFields[11].Descriptor()
|
||||
// backuprecord.DefaultAckName holds the default value on creation for the ackName field.
|
||||
backuprecord.DefaultAckName = backuprecordDescAckName.Default.(string)
|
||||
// backuprecord.AckNameValidator is a validator for the "ackName" field. It is called by the builders before save.
|
||||
backuprecord.AckNameValidator = backuprecordDescAckName.Validators[0].(func(string) error)
|
||||
// backuprecordDescAckPhone is the schema descriptor for ackPhone field.
|
||||
backuprecordDescAckPhone := backuprecordFields[12].Descriptor()
|
||||
// backuprecord.DefaultAckPhone holds the default value on creation for the ackPhone field.
|
||||
backuprecord.DefaultAckPhone = backuprecordDescAckPhone.Default.(string)
|
||||
// backuprecord.AckPhoneValidator is a validator for the "ackPhone" field. It is called by the builders before save.
|
||||
backuprecord.AckPhoneValidator = backuprecordDescAckPhone.Validators[0].(func(string) error)
|
||||
// backuprecordDescID is the schema descriptor for id field.
|
||||
backuprecordDescID := backuprecordFields[0].Descriptor()
|
||||
// backuprecord.IDValidator is a validator for the "id" field. It is called by the builders before save.
|
||||
|
||||
Reference in New Issue
Block a user