// Code generated by ent, DO NOT EDIT.

package ent

import (
	"time"
	"wechat-api/ent/custom_types"
)

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilUpdatedAt(value *time.Time) *AgentUpdate {
	if value != nil {
		return a.SetUpdatedAt(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilUpdatedAt(value *time.Time) *AgentUpdateOne {
	if value != nil {
		return a.SetUpdatedAt(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilUpdatedAt(value *time.Time) *AgentCreate {
	if value != nil {
		return a.SetUpdatedAt(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilDeletedAt(value *time.Time) *AgentUpdate {
	if value != nil {
		return a.SetDeletedAt(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilDeletedAt(value *time.Time) *AgentUpdateOne {
	if value != nil {
		return a.SetDeletedAt(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilDeletedAt(value *time.Time) *AgentCreate {
	if value != nil {
		return a.SetDeletedAt(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilName(value *string) *AgentUpdate {
	if value != nil {
		return a.SetName(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilName(value *string) *AgentUpdateOne {
	if value != nil {
		return a.SetName(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilName(value *string) *AgentCreate {
	if value != nil {
		return a.SetName(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilRole(value *string) *AgentUpdate {
	if value != nil {
		return a.SetRole(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilRole(value *string) *AgentUpdateOne {
	if value != nil {
		return a.SetRole(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilRole(value *string) *AgentCreate {
	if value != nil {
		return a.SetRole(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilStatus(value *int) *AgentUpdate {
	if value != nil {
		return a.SetStatus(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilStatus(value *int) *AgentUpdateOne {
	if value != nil {
		return a.SetStatus(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilStatus(value *int) *AgentCreate {
	if value != nil {
		return a.SetStatus(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilBackground(value *string) *AgentUpdate {
	if value != nil {
		return a.SetBackground(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilBackground(value *string) *AgentUpdateOne {
	if value != nil {
		return a.SetBackground(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilBackground(value *string) *AgentCreate {
	if value != nil {
		return a.SetBackground(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilExamples(value *string) *AgentUpdate {
	if value != nil {
		return a.SetExamples(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilExamples(value *string) *AgentUpdateOne {
	if value != nil {
		return a.SetExamples(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilExamples(value *string) *AgentCreate {
	if value != nil {
		return a.SetExamples(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdate) SetNotNilOrganizationID(value *uint64) *AgentUpdate {
	if value != nil {
		return a.SetOrganizationID(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentUpdateOne) SetNotNilOrganizationID(value *uint64) *AgentUpdateOne {
	if value != nil {
		return a.SetOrganizationID(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (a *AgentCreate) SetNotNilOrganizationID(value *uint64) *AgentCreate {
	if value != nil {
		return a.SetOrganizationID(*value)
	}
	return a
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilUpdatedAt(value *time.Time) *BatchMsgUpdate {
	if value != nil {
		return bm.SetUpdatedAt(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilUpdatedAt(value *time.Time) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetUpdatedAt(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilUpdatedAt(value *time.Time) *BatchMsgCreate {
	if value != nil {
		return bm.SetUpdatedAt(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilDeletedAt(value *time.Time) *BatchMsgUpdate {
	if value != nil {
		return bm.SetDeletedAt(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilDeletedAt(value *time.Time) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetDeletedAt(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilDeletedAt(value *time.Time) *BatchMsgCreate {
	if value != nil {
		return bm.SetDeletedAt(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilStatus(value *uint8) *BatchMsgUpdate {
	if value != nil {
		return bm.SetStatus(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilStatus(value *uint8) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetStatus(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilStatus(value *uint8) *BatchMsgCreate {
	if value != nil {
		return bm.SetStatus(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilBatchNo(value *string) *BatchMsgUpdate {
	if value != nil {
		return bm.SetBatchNo(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilBatchNo(value *string) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetBatchNo(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilBatchNo(value *string) *BatchMsgCreate {
	if value != nil {
		return bm.SetBatchNo(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilFromwxid(value *string) *BatchMsgUpdate {
	if value != nil {
		return bm.SetFromwxid(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilFromwxid(value *string) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetFromwxid(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilFromwxid(value *string) *BatchMsgCreate {
	if value != nil {
		return bm.SetFromwxid(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilMsg(value *string) *BatchMsgUpdate {
	if value != nil {
		return bm.SetMsg(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilMsg(value *string) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetMsg(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilMsg(value *string) *BatchMsgCreate {
	if value != nil {
		return bm.SetMsg(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilTag(value *string) *BatchMsgUpdate {
	if value != nil {
		return bm.SetTag(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilTag(value *string) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetTag(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilTag(value *string) *BatchMsgCreate {
	if value != nil {
		return bm.SetTag(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilTotal(value *int32) *BatchMsgUpdate {
	if value != nil {
		return bm.SetTotal(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilTotal(value *int32) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetTotal(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilTotal(value *int32) *BatchMsgCreate {
	if value != nil {
		return bm.SetTotal(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilSuccess(value *int32) *BatchMsgUpdate {
	if value != nil {
		return bm.SetSuccess(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilSuccess(value *int32) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetSuccess(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilSuccess(value *int32) *BatchMsgCreate {
	if value != nil {
		return bm.SetSuccess(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilFail(value *int32) *BatchMsgUpdate {
	if value != nil {
		return bm.SetFail(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilFail(value *int32) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetFail(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilFail(value *int32) *BatchMsgCreate {
	if value != nil {
		return bm.SetFail(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilStartTime(value *time.Time) *BatchMsgUpdate {
	if value != nil {
		return bm.SetStartTime(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilStartTime(value *time.Time) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetStartTime(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilStartTime(value *time.Time) *BatchMsgCreate {
	if value != nil {
		return bm.SetStartTime(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdate) SetNotNilStopTime(value *time.Time) *BatchMsgUpdate {
	if value != nil {
		return bm.SetStopTime(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgUpdateOne) SetNotNilStopTime(value *time.Time) *BatchMsgUpdateOne {
	if value != nil {
		return bm.SetStopTime(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (bm *BatchMsgCreate) SetNotNilStopTime(value *time.Time) *BatchMsgCreate {
	if value != nil {
		return bm.SetStopTime(*value)
	}
	return bm
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilUpdatedAt(value *time.Time) *ContactUpdate {
	if value != nil {
		return c.SetUpdatedAt(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilUpdatedAt(value *time.Time) *ContactUpdateOne {
	if value != nil {
		return c.SetUpdatedAt(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilUpdatedAt(value *time.Time) *ContactCreate {
	if value != nil {
		return c.SetUpdatedAt(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilStatus(value *uint8) *ContactUpdate {
	if value != nil {
		return c.SetStatus(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilStatus(value *uint8) *ContactUpdateOne {
	if value != nil {
		return c.SetStatus(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilStatus(value *uint8) *ContactCreate {
	if value != nil {
		return c.SetStatus(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilDeletedAt(value *time.Time) *ContactUpdate {
	if value != nil {
		return c.SetDeletedAt(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilDeletedAt(value *time.Time) *ContactUpdateOne {
	if value != nil {
		return c.SetDeletedAt(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilDeletedAt(value *time.Time) *ContactCreate {
	if value != nil {
		return c.SetDeletedAt(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilWxWxid(value *string) *ContactUpdate {
	if value != nil {
		return c.SetWxWxid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilWxWxid(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetWxWxid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilWxWxid(value *string) *ContactCreate {
	if value != nil {
		return c.SetWxWxid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilType(value *int) *ContactUpdate {
	if value != nil {
		return c.SetType(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilType(value *int) *ContactUpdateOne {
	if value != nil {
		return c.SetType(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilType(value *int) *ContactCreate {
	if value != nil {
		return c.SetType(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilWxid(value *string) *ContactUpdate {
	if value != nil {
		return c.SetWxid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilWxid(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetWxid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilWxid(value *string) *ContactCreate {
	if value != nil {
		return c.SetWxid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilAccount(value *string) *ContactUpdate {
	if value != nil {
		return c.SetAccount(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilAccount(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetAccount(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilAccount(value *string) *ContactCreate {
	if value != nil {
		return c.SetAccount(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilNickname(value *string) *ContactUpdate {
	if value != nil {
		return c.SetNickname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilNickname(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetNickname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilNickname(value *string) *ContactCreate {
	if value != nil {
		return c.SetNickname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilMarkname(value *string) *ContactUpdate {
	if value != nil {
		return c.SetMarkname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilMarkname(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetMarkname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilMarkname(value *string) *ContactCreate {
	if value != nil {
		return c.SetMarkname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilHeadimg(value *string) *ContactUpdate {
	if value != nil {
		return c.SetHeadimg(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilHeadimg(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetHeadimg(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilHeadimg(value *string) *ContactCreate {
	if value != nil {
		return c.SetHeadimg(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilSex(value *int) *ContactUpdate {
	if value != nil {
		return c.SetSex(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilSex(value *int) *ContactUpdateOne {
	if value != nil {
		return c.SetSex(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilSex(value *int) *ContactCreate {
	if value != nil {
		return c.SetSex(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilStarrole(value *string) *ContactUpdate {
	if value != nil {
		return c.SetStarrole(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilStarrole(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetStarrole(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilStarrole(value *string) *ContactCreate {
	if value != nil {
		return c.SetStarrole(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilDontseeit(value *int) *ContactUpdate {
	if value != nil {
		return c.SetDontseeit(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilDontseeit(value *int) *ContactUpdateOne {
	if value != nil {
		return c.SetDontseeit(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilDontseeit(value *int) *ContactCreate {
	if value != nil {
		return c.SetDontseeit(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilDontseeme(value *int) *ContactUpdate {
	if value != nil {
		return c.SetDontseeme(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilDontseeme(value *int) *ContactUpdateOne {
	if value != nil {
		return c.SetDontseeme(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilDontseeme(value *int) *ContactCreate {
	if value != nil {
		return c.SetDontseeme(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilLag(value *string) *ContactUpdate {
	if value != nil {
		return c.SetLag(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilLag(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetLag(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilLag(value *string) *ContactCreate {
	if value != nil {
		return c.SetLag(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilGid(value *string) *ContactUpdate {
	if value != nil {
		return c.SetGid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilGid(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetGid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilGid(value *string) *ContactCreate {
	if value != nil {
		return c.SetGid(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilGname(value *string) *ContactUpdate {
	if value != nil {
		return c.SetGname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilGname(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetGname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilGname(value *string) *ContactCreate {
	if value != nil {
		return c.SetGname(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilV3(value *string) *ContactUpdate {
	if value != nil {
		return c.SetV3(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilV3(value *string) *ContactUpdateOne {
	if value != nil {
		return c.SetV3(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilV3(value *string) *ContactCreate {
	if value != nil {
		return c.SetV3(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdate) SetNotNilOrganizationID(value *uint64) *ContactUpdate {
	if value != nil {
		return c.SetOrganizationID(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactUpdateOne) SetNotNilOrganizationID(value *uint64) *ContactUpdateOne {
	if value != nil {
		return c.SetOrganizationID(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (c *ContactCreate) SetNotNilOrganizationID(value *uint64) *ContactCreate {
	if value != nil {
		return c.SetOrganizationID(*value)
	}
	return c
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilUpdatedAt(value *time.Time) *LabelUpdate {
	if value != nil {
		return l.SetUpdatedAt(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilUpdatedAt(value *time.Time) *LabelUpdateOne {
	if value != nil {
		return l.SetUpdatedAt(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilUpdatedAt(value *time.Time) *LabelCreate {
	if value != nil {
		return l.SetUpdatedAt(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilStatus(value *uint8) *LabelUpdate {
	if value != nil {
		return l.SetStatus(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilStatus(value *uint8) *LabelUpdateOne {
	if value != nil {
		return l.SetStatus(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilStatus(value *uint8) *LabelCreate {
	if value != nil {
		return l.SetStatus(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilType(value *int) *LabelUpdate {
	if value != nil {
		return l.SetType(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilType(value *int) *LabelUpdateOne {
	if value != nil {
		return l.SetType(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilType(value *int) *LabelCreate {
	if value != nil {
		return l.SetType(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilName(value *string) *LabelUpdate {
	if value != nil {
		return l.SetName(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilName(value *string) *LabelUpdateOne {
	if value != nil {
		return l.SetName(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilName(value *string) *LabelCreate {
	if value != nil {
		return l.SetName(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilFrom(value *int) *LabelUpdate {
	if value != nil {
		return l.SetFrom(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilFrom(value *int) *LabelUpdateOne {
	if value != nil {
		return l.SetFrom(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilFrom(value *int) *LabelCreate {
	if value != nil {
		return l.SetFrom(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilMode(value *int) *LabelUpdate {
	if value != nil {
		return l.SetMode(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilMode(value *int) *LabelUpdateOne {
	if value != nil {
		return l.SetMode(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilMode(value *int) *LabelCreate {
	if value != nil {
		return l.SetMode(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilConditions(value *string) *LabelUpdate {
	if value != nil {
		return l.SetConditions(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilConditions(value *string) *LabelUpdateOne {
	if value != nil {
		return l.SetConditions(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilConditions(value *string) *LabelCreate {
	if value != nil {
		return l.SetConditions(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdate) SetNotNilOrganizationID(value *uint64) *LabelUpdate {
	if value != nil {
		return l.SetOrganizationID(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelUpdateOne) SetNotNilOrganizationID(value *uint64) *LabelUpdateOne {
	if value != nil {
		return l.SetOrganizationID(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (l *LabelCreate) SetNotNilOrganizationID(value *uint64) *LabelCreate {
	if value != nil {
		return l.SetOrganizationID(*value)
	}
	return l
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdate) SetNotNilUpdatedAt(value *time.Time) *LabelRelationshipUpdate {
	if value != nil {
		return lr.SetUpdatedAt(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdateOne) SetNotNilUpdatedAt(value *time.Time) *LabelRelationshipUpdateOne {
	if value != nil {
		return lr.SetUpdatedAt(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipCreate) SetNotNilUpdatedAt(value *time.Time) *LabelRelationshipCreate {
	if value != nil {
		return lr.SetUpdatedAt(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdate) SetNotNilStatus(value *uint8) *LabelRelationshipUpdate {
	if value != nil {
		return lr.SetStatus(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdateOne) SetNotNilStatus(value *uint8) *LabelRelationshipUpdateOne {
	if value != nil {
		return lr.SetStatus(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipCreate) SetNotNilStatus(value *uint8) *LabelRelationshipCreate {
	if value != nil {
		return lr.SetStatus(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdate) SetNotNilDeletedAt(value *time.Time) *LabelRelationshipUpdate {
	if value != nil {
		return lr.SetDeletedAt(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdateOne) SetNotNilDeletedAt(value *time.Time) *LabelRelationshipUpdateOne {
	if value != nil {
		return lr.SetDeletedAt(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipCreate) SetNotNilDeletedAt(value *time.Time) *LabelRelationshipCreate {
	if value != nil {
		return lr.SetDeletedAt(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdate) SetNotNilLabelID(value *uint64) *LabelRelationshipUpdate {
	if value != nil {
		return lr.SetLabelID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdateOne) SetNotNilLabelID(value *uint64) *LabelRelationshipUpdateOne {
	if value != nil {
		return lr.SetLabelID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipCreate) SetNotNilLabelID(value *uint64) *LabelRelationshipCreate {
	if value != nil {
		return lr.SetLabelID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdate) SetNotNilContactID(value *uint64) *LabelRelationshipUpdate {
	if value != nil {
		return lr.SetContactID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdateOne) SetNotNilContactID(value *uint64) *LabelRelationshipUpdateOne {
	if value != nil {
		return lr.SetContactID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipCreate) SetNotNilContactID(value *uint64) *LabelRelationshipCreate {
	if value != nil {
		return lr.SetContactID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdate) SetNotNilOrganizationID(value *uint64) *LabelRelationshipUpdate {
	if value != nil {
		return lr.SetOrganizationID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipUpdateOne) SetNotNilOrganizationID(value *uint64) *LabelRelationshipUpdateOne {
	if value != nil {
		return lr.SetOrganizationID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (lr *LabelRelationshipCreate) SetNotNilOrganizationID(value *uint64) *LabelRelationshipCreate {
	if value != nil {
		return lr.SetOrganizationID(*value)
	}
	return lr
}

// set field if value's pointer is not nil.
func (m *MessageUpdate) SetNotNilWxWxid(value *string) *MessageUpdate {
	if value != nil {
		return m.SetWxWxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageUpdateOne) SetNotNilWxWxid(value *string) *MessageUpdateOne {
	if value != nil {
		return m.SetWxWxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageCreate) SetNotNilWxWxid(value *string) *MessageCreate {
	if value != nil {
		return m.SetWxWxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageUpdate) SetNotNilWxid(value *string) *MessageUpdate {
	if value != nil {
		return m.SetWxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageUpdateOne) SetNotNilWxid(value *string) *MessageUpdateOne {
	if value != nil {
		return m.SetWxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageCreate) SetNotNilWxid(value *string) *MessageCreate {
	if value != nil {
		return m.SetWxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageUpdate) SetNotNilContent(value *string) *MessageUpdate {
	if value != nil {
		return m.SetContent(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageUpdateOne) SetNotNilContent(value *string) *MessageUpdateOne {
	if value != nil {
		return m.SetContent(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MessageCreate) SetNotNilContent(value *string) *MessageCreate {
	if value != nil {
		return m.SetContent(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilUpdatedAt(value *time.Time) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetUpdatedAt(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilUpdatedAt(value *time.Time) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetUpdatedAt(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilUpdatedAt(value *time.Time) *MessageRecordsCreate {
	if value != nil {
		return mr.SetUpdatedAt(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilStatus(value *uint8) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetStatus(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilStatus(value *uint8) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetStatus(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilStatus(value *uint8) *MessageRecordsCreate {
	if value != nil {
		return mr.SetStatus(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilDeletedAt(value *time.Time) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetDeletedAt(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilDeletedAt(value *time.Time) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetDeletedAt(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilDeletedAt(value *time.Time) *MessageRecordsCreate {
	if value != nil {
		return mr.SetDeletedAt(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilBotWxid(value *string) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetBotWxid(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilBotWxid(value *string) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetBotWxid(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilBotWxid(value *string) *MessageRecordsCreate {
	if value != nil {
		return mr.SetBotWxid(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilContactID(value *uint64) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetContactID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilContactID(value *uint64) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetContactID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilContactID(value *uint64) *MessageRecordsCreate {
	if value != nil {
		return mr.SetContactID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilContactType(value *int) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetContactType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilContactType(value *int) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetContactType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilContactType(value *int) *MessageRecordsCreate {
	if value != nil {
		return mr.SetContactType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilContactWxid(value *string) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetContactWxid(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilContactWxid(value *string) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetContactWxid(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilContactWxid(value *string) *MessageRecordsCreate {
	if value != nil {
		return mr.SetContactWxid(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilContentType(value *int) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetContentType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilContentType(value *int) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetContentType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilContentType(value *int) *MessageRecordsCreate {
	if value != nil {
		return mr.SetContentType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilContent(value *string) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetContent(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilContent(value *string) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetContent(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilContent(value *string) *MessageRecordsCreate {
	if value != nil {
		return mr.SetContent(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilMeta(value *custom_types.Meta) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetMeta(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilMeta(value *custom_types.Meta) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetMeta(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilMeta(value *custom_types.Meta) *MessageRecordsCreate {
	if value != nil {
		return mr.SetMeta(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilErrorDetail(value *string) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetErrorDetail(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilErrorDetail(value *string) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetErrorDetail(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilErrorDetail(value *string) *MessageRecordsCreate {
	if value != nil {
		return mr.SetErrorDetail(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilSendTime(value *time.Time) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetSendTime(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilSendTime(value *time.Time) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetSendTime(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilSendTime(value *time.Time) *MessageRecordsCreate {
	if value != nil {
		return mr.SetSendTime(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilSourceType(value *int) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetSourceType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilSourceType(value *int) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetSourceType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilSourceType(value *int) *MessageRecordsCreate {
	if value != nil {
		return mr.SetSourceType(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilSourceID(value *uint64) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetSourceID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilSourceID(value *uint64) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetSourceID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilSourceID(value *uint64) *MessageRecordsCreate {
	if value != nil {
		return mr.SetSourceID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilSubSourceID(value *uint64) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetSubSourceID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilSubSourceID(value *uint64) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetSubSourceID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilSubSourceID(value *uint64) *MessageRecordsCreate {
	if value != nil {
		return mr.SetSubSourceID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdate) SetNotNilOrganizationID(value *uint64) *MessageRecordsUpdate {
	if value != nil {
		return mr.SetOrganizationID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsUpdateOne) SetNotNilOrganizationID(value *uint64) *MessageRecordsUpdateOne {
	if value != nil {
		return mr.SetOrganizationID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (mr *MessageRecordsCreate) SetNotNilOrganizationID(value *uint64) *MessageRecordsCreate {
	if value != nil {
		return mr.SetOrganizationID(*value)
	}
	return mr
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilUpdatedAt(value *time.Time) *MsgUpdate {
	if value != nil {
		return m.SetUpdatedAt(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilUpdatedAt(value *time.Time) *MsgUpdateOne {
	if value != nil {
		return m.SetUpdatedAt(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilUpdatedAt(value *time.Time) *MsgCreate {
	if value != nil {
		return m.SetUpdatedAt(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilDeletedAt(value *time.Time) *MsgUpdate {
	if value != nil {
		return m.SetDeletedAt(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilDeletedAt(value *time.Time) *MsgUpdateOne {
	if value != nil {
		return m.SetDeletedAt(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilDeletedAt(value *time.Time) *MsgCreate {
	if value != nil {
		return m.SetDeletedAt(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilStatus(value *uint8) *MsgUpdate {
	if value != nil {
		return m.SetStatus(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilStatus(value *uint8) *MsgUpdateOne {
	if value != nil {
		return m.SetStatus(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilStatus(value *uint8) *MsgCreate {
	if value != nil {
		return m.SetStatus(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilFromwxid(value *string) *MsgUpdate {
	if value != nil {
		return m.SetFromwxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilFromwxid(value *string) *MsgUpdateOne {
	if value != nil {
		return m.SetFromwxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilFromwxid(value *string) *MsgCreate {
	if value != nil {
		return m.SetFromwxid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilToid(value *string) *MsgUpdate {
	if value != nil {
		return m.SetToid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilToid(value *string) *MsgUpdateOne {
	if value != nil {
		return m.SetToid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilToid(value *string) *MsgCreate {
	if value != nil {
		return m.SetToid(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilMsgtype(value *int32) *MsgUpdate {
	if value != nil {
		return m.SetMsgtype(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilMsgtype(value *int32) *MsgUpdateOne {
	if value != nil {
		return m.SetMsgtype(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilMsgtype(value *int32) *MsgCreate {
	if value != nil {
		return m.SetMsgtype(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilMsg(value *string) *MsgUpdate {
	if value != nil {
		return m.SetMsg(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilMsg(value *string) *MsgUpdateOne {
	if value != nil {
		return m.SetMsg(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilMsg(value *string) *MsgCreate {
	if value != nil {
		return m.SetMsg(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdate) SetNotNilBatchNo(value *string) *MsgUpdate {
	if value != nil {
		return m.SetBatchNo(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgUpdateOne) SetNotNilBatchNo(value *string) *MsgUpdateOne {
	if value != nil {
		return m.SetBatchNo(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (m *MsgCreate) SetNotNilBatchNo(value *string) *MsgCreate {
	if value != nil {
		return m.SetBatchNo(*value)
	}
	return m
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilUpdatedAt(value *time.Time) *ServerUpdate {
	if value != nil {
		return s.SetUpdatedAt(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilUpdatedAt(value *time.Time) *ServerUpdateOne {
	if value != nil {
		return s.SetUpdatedAt(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilUpdatedAt(value *time.Time) *ServerCreate {
	if value != nil {
		return s.SetUpdatedAt(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilStatus(value *uint8) *ServerUpdate {
	if value != nil {
		return s.SetStatus(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilStatus(value *uint8) *ServerUpdateOne {
	if value != nil {
		return s.SetStatus(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilStatus(value *uint8) *ServerCreate {
	if value != nil {
		return s.SetStatus(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilDeletedAt(value *time.Time) *ServerUpdate {
	if value != nil {
		return s.SetDeletedAt(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilDeletedAt(value *time.Time) *ServerUpdateOne {
	if value != nil {
		return s.SetDeletedAt(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilDeletedAt(value *time.Time) *ServerCreate {
	if value != nil {
		return s.SetDeletedAt(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilName(value *string) *ServerUpdate {
	if value != nil {
		return s.SetName(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilName(value *string) *ServerUpdateOne {
	if value != nil {
		return s.SetName(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilName(value *string) *ServerCreate {
	if value != nil {
		return s.SetName(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilPublicIP(value *string) *ServerUpdate {
	if value != nil {
		return s.SetPublicIP(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilPublicIP(value *string) *ServerUpdateOne {
	if value != nil {
		return s.SetPublicIP(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilPublicIP(value *string) *ServerCreate {
	if value != nil {
		return s.SetPublicIP(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilPrivateIP(value *string) *ServerUpdate {
	if value != nil {
		return s.SetPrivateIP(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilPrivateIP(value *string) *ServerUpdateOne {
	if value != nil {
		return s.SetPrivateIP(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilPrivateIP(value *string) *ServerCreate {
	if value != nil {
		return s.SetPrivateIP(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdate) SetNotNilAdminPort(value *string) *ServerUpdate {
	if value != nil {
		return s.SetAdminPort(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerUpdateOne) SetNotNilAdminPort(value *string) *ServerUpdateOne {
	if value != nil {
		return s.SetAdminPort(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (s *ServerCreate) SetNotNilAdminPort(value *string) *ServerCreate {
	if value != nil {
		return s.SetAdminPort(*value)
	}
	return s
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilUpdatedAt(value *time.Time) *SopNodeUpdate {
	if value != nil {
		return sn.SetUpdatedAt(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilUpdatedAt(value *time.Time) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetUpdatedAt(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilUpdatedAt(value *time.Time) *SopNodeCreate {
	if value != nil {
		return sn.SetUpdatedAt(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilStatus(value *uint8) *SopNodeUpdate {
	if value != nil {
		return sn.SetStatus(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilStatus(value *uint8) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetStatus(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilStatus(value *uint8) *SopNodeCreate {
	if value != nil {
		return sn.SetStatus(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilDeletedAt(value *time.Time) *SopNodeUpdate {
	if value != nil {
		return sn.SetDeletedAt(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilDeletedAt(value *time.Time) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetDeletedAt(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilDeletedAt(value *time.Time) *SopNodeCreate {
	if value != nil {
		return sn.SetDeletedAt(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilStageID(value *uint64) *SopNodeUpdate {
	if value != nil {
		return sn.SetStageID(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilStageID(value *uint64) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetStageID(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilStageID(value *uint64) *SopNodeCreate {
	if value != nil {
		return sn.SetStageID(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilParentID(value *uint64) *SopNodeUpdate {
	if value != nil {
		return sn.SetParentID(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilParentID(value *uint64) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetParentID(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilParentID(value *uint64) *SopNodeCreate {
	if value != nil {
		return sn.SetParentID(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilName(value *string) *SopNodeUpdate {
	if value != nil {
		return sn.SetName(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilName(value *string) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetName(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilName(value *string) *SopNodeCreate {
	if value != nil {
		return sn.SetName(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilConditionType(value *int) *SopNodeUpdate {
	if value != nil {
		return sn.SetConditionType(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilConditionType(value *int) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetConditionType(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilConditionType(value *int) *SopNodeCreate {
	if value != nil {
		return sn.SetConditionType(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilConditionList(value []string) *SopNodeUpdate {
	if value != nil {
		return sn.SetConditionList(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilConditionList(value []string) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetConditionList(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilConditionList(value []string) *SopNodeCreate {
	if value != nil {
		return sn.SetConditionList(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilNoReplyCondition(value *uint64) *SopNodeUpdate {
	if value != nil {
		return sn.SetNoReplyCondition(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilNoReplyCondition(value *uint64) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetNoReplyCondition(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilNoReplyCondition(value *uint64) *SopNodeCreate {
	if value != nil {
		return sn.SetNoReplyCondition(*value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilActionMessage(value []custom_types.Action) *SopNodeUpdate {
	if value != nil {
		return sn.SetActionMessage(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilActionMessage(value []custom_types.Action) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetActionMessage(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilActionMessage(value []custom_types.Action) *SopNodeCreate {
	if value != nil {
		return sn.SetActionMessage(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdate) SetNotNilActionLabel(value []uint64) *SopNodeUpdate {
	if value != nil {
		return sn.SetActionLabel(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeUpdateOne) SetNotNilActionLabel(value []uint64) *SopNodeUpdateOne {
	if value != nil {
		return sn.SetActionLabel(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (sn *SopNodeCreate) SetNotNilActionLabel(value []uint64) *SopNodeCreate {
	if value != nil {
		return sn.SetActionLabel(value)
	}
	return sn
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilUpdatedAt(value *time.Time) *SopStageUpdate {
	if value != nil {
		return ss.SetUpdatedAt(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilUpdatedAt(value *time.Time) *SopStageUpdateOne {
	if value != nil {
		return ss.SetUpdatedAt(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilUpdatedAt(value *time.Time) *SopStageCreate {
	if value != nil {
		return ss.SetUpdatedAt(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilStatus(value *uint8) *SopStageUpdate {
	if value != nil {
		return ss.SetStatus(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilStatus(value *uint8) *SopStageUpdateOne {
	if value != nil {
		return ss.SetStatus(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilStatus(value *uint8) *SopStageCreate {
	if value != nil {
		return ss.SetStatus(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilDeletedAt(value *time.Time) *SopStageUpdate {
	if value != nil {
		return ss.SetDeletedAt(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilDeletedAt(value *time.Time) *SopStageUpdateOne {
	if value != nil {
		return ss.SetDeletedAt(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilDeletedAt(value *time.Time) *SopStageCreate {
	if value != nil {
		return ss.SetDeletedAt(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilTaskID(value *uint64) *SopStageUpdate {
	if value != nil {
		return ss.SetTaskID(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilTaskID(value *uint64) *SopStageUpdateOne {
	if value != nil {
		return ss.SetTaskID(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilTaskID(value *uint64) *SopStageCreate {
	if value != nil {
		return ss.SetTaskID(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilName(value *string) *SopStageUpdate {
	if value != nil {
		return ss.SetName(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilName(value *string) *SopStageUpdateOne {
	if value != nil {
		return ss.SetName(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilName(value *string) *SopStageCreate {
	if value != nil {
		return ss.SetName(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilConditionType(value *int) *SopStageUpdate {
	if value != nil {
		return ss.SetConditionType(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilConditionType(value *int) *SopStageUpdateOne {
	if value != nil {
		return ss.SetConditionType(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilConditionType(value *int) *SopStageCreate {
	if value != nil {
		return ss.SetConditionType(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilConditionOperator(value *int) *SopStageUpdate {
	if value != nil {
		return ss.SetConditionOperator(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilConditionOperator(value *int) *SopStageUpdateOne {
	if value != nil {
		return ss.SetConditionOperator(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilConditionOperator(value *int) *SopStageCreate {
	if value != nil {
		return ss.SetConditionOperator(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilConditionList(value []custom_types.Condition) *SopStageUpdate {
	if value != nil {
		return ss.SetConditionList(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilConditionList(value []custom_types.Condition) *SopStageUpdateOne {
	if value != nil {
		return ss.SetConditionList(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilConditionList(value []custom_types.Condition) *SopStageCreate {
	if value != nil {
		return ss.SetConditionList(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilActionMessage(value []custom_types.Action) *SopStageUpdate {
	if value != nil {
		return ss.SetActionMessage(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilActionMessage(value []custom_types.Action) *SopStageUpdateOne {
	if value != nil {
		return ss.SetActionMessage(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilActionMessage(value []custom_types.Action) *SopStageCreate {
	if value != nil {
		return ss.SetActionMessage(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilActionLabel(value []uint64) *SopStageUpdate {
	if value != nil {
		return ss.SetActionLabel(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilActionLabel(value []uint64) *SopStageUpdateOne {
	if value != nil {
		return ss.SetActionLabel(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilActionLabel(value []uint64) *SopStageCreate {
	if value != nil {
		return ss.SetActionLabel(value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdate) SetNotNilIndexSort(value *int) *SopStageUpdate {
	if value != nil {
		return ss.SetIndexSort(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageUpdateOne) SetNotNilIndexSort(value *int) *SopStageUpdateOne {
	if value != nil {
		return ss.SetIndexSort(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (ss *SopStageCreate) SetNotNilIndexSort(value *int) *SopStageCreate {
	if value != nil {
		return ss.SetIndexSort(*value)
	}
	return ss
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilUpdatedAt(value *time.Time) *SopTaskUpdate {
	if value != nil {
		return st.SetUpdatedAt(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilUpdatedAt(value *time.Time) *SopTaskUpdateOne {
	if value != nil {
		return st.SetUpdatedAt(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilUpdatedAt(value *time.Time) *SopTaskCreate {
	if value != nil {
		return st.SetUpdatedAt(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilStatus(value *uint8) *SopTaskUpdate {
	if value != nil {
		return st.SetStatus(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilStatus(value *uint8) *SopTaskUpdateOne {
	if value != nil {
		return st.SetStatus(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilStatus(value *uint8) *SopTaskCreate {
	if value != nil {
		return st.SetStatus(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilDeletedAt(value *time.Time) *SopTaskUpdate {
	if value != nil {
		return st.SetDeletedAt(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilDeletedAt(value *time.Time) *SopTaskUpdateOne {
	if value != nil {
		return st.SetDeletedAt(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilDeletedAt(value *time.Time) *SopTaskCreate {
	if value != nil {
		return st.SetDeletedAt(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilName(value *string) *SopTaskUpdate {
	if value != nil {
		return st.SetName(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilName(value *string) *SopTaskUpdateOne {
	if value != nil {
		return st.SetName(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilName(value *string) *SopTaskCreate {
	if value != nil {
		return st.SetName(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilBotWxidList(value []string) *SopTaskUpdate {
	if value != nil {
		return st.SetBotWxidList(value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilBotWxidList(value []string) *SopTaskUpdateOne {
	if value != nil {
		return st.SetBotWxidList(value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilBotWxidList(value []string) *SopTaskCreate {
	if value != nil {
		return st.SetBotWxidList(value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilType(value *int) *SopTaskUpdate {
	if value != nil {
		return st.SetType(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilType(value *int) *SopTaskUpdateOne {
	if value != nil {
		return st.SetType(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilType(value *int) *SopTaskCreate {
	if value != nil {
		return st.SetType(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilPlanStartTime(value *time.Time) *SopTaskUpdate {
	if value != nil {
		return st.SetPlanStartTime(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilPlanStartTime(value *time.Time) *SopTaskUpdateOne {
	if value != nil {
		return st.SetPlanStartTime(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilPlanStartTime(value *time.Time) *SopTaskCreate {
	if value != nil {
		return st.SetPlanStartTime(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilPlanEndTime(value *time.Time) *SopTaskUpdate {
	if value != nil {
		return st.SetPlanEndTime(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilPlanEndTime(value *time.Time) *SopTaskUpdateOne {
	if value != nil {
		return st.SetPlanEndTime(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilPlanEndTime(value *time.Time) *SopTaskCreate {
	if value != nil {
		return st.SetPlanEndTime(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilCreatorID(value *string) *SopTaskUpdate {
	if value != nil {
		return st.SetCreatorID(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilCreatorID(value *string) *SopTaskUpdateOne {
	if value != nil {
		return st.SetCreatorID(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilCreatorID(value *string) *SopTaskCreate {
	if value != nil {
		return st.SetCreatorID(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdate) SetNotNilOrganizationID(value *uint64) *SopTaskUpdate {
	if value != nil {
		return st.SetOrganizationID(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskUpdateOne) SetNotNilOrganizationID(value *uint64) *SopTaskUpdateOne {
	if value != nil {
		return st.SetOrganizationID(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (st *SopTaskCreate) SetNotNilOrganizationID(value *uint64) *SopTaskCreate {
	if value != nil {
		return st.SetOrganizationID(*value)
	}
	return st
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilUpdatedAt(value *time.Time) *WxUpdate {
	if value != nil {
		return w.SetUpdatedAt(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilUpdatedAt(value *time.Time) *WxUpdateOne {
	if value != nil {
		return w.SetUpdatedAt(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilUpdatedAt(value *time.Time) *WxCreate {
	if value != nil {
		return w.SetUpdatedAt(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilStatus(value *uint8) *WxUpdate {
	if value != nil {
		return w.SetStatus(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilStatus(value *uint8) *WxUpdateOne {
	if value != nil {
		return w.SetStatus(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilStatus(value *uint8) *WxCreate {
	if value != nil {
		return w.SetStatus(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilDeletedAt(value *time.Time) *WxUpdate {
	if value != nil {
		return w.SetDeletedAt(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilDeletedAt(value *time.Time) *WxUpdateOne {
	if value != nil {
		return w.SetDeletedAt(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilDeletedAt(value *time.Time) *WxCreate {
	if value != nil {
		return w.SetDeletedAt(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilServerID(value *uint64) *WxUpdate {
	if value != nil {
		return w.SetServerID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilServerID(value *uint64) *WxUpdateOne {
	if value != nil {
		return w.SetServerID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilServerID(value *uint64) *WxCreate {
	if value != nil {
		return w.SetServerID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilPort(value *string) *WxUpdate {
	if value != nil {
		return w.SetPort(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilPort(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetPort(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilPort(value *string) *WxCreate {
	if value != nil {
		return w.SetPort(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilProcessID(value *string) *WxUpdate {
	if value != nil {
		return w.SetProcessID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilProcessID(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetProcessID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilProcessID(value *string) *WxCreate {
	if value != nil {
		return w.SetProcessID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilCallback(value *string) *WxUpdate {
	if value != nil {
		return w.SetCallback(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilCallback(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetCallback(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilCallback(value *string) *WxCreate {
	if value != nil {
		return w.SetCallback(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilWxid(value *string) *WxUpdate {
	if value != nil {
		return w.SetWxid(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilWxid(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetWxid(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilWxid(value *string) *WxCreate {
	if value != nil {
		return w.SetWxid(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilAccount(value *string) *WxUpdate {
	if value != nil {
		return w.SetAccount(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilAccount(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetAccount(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilAccount(value *string) *WxCreate {
	if value != nil {
		return w.SetAccount(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilNickname(value *string) *WxUpdate {
	if value != nil {
		return w.SetNickname(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilNickname(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetNickname(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilNickname(value *string) *WxCreate {
	if value != nil {
		return w.SetNickname(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilTel(value *string) *WxUpdate {
	if value != nil {
		return w.SetTel(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilTel(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetTel(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilTel(value *string) *WxCreate {
	if value != nil {
		return w.SetTel(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilHeadBig(value *string) *WxUpdate {
	if value != nil {
		return w.SetHeadBig(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilHeadBig(value *string) *WxUpdateOne {
	if value != nil {
		return w.SetHeadBig(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilHeadBig(value *string) *WxCreate {
	if value != nil {
		return w.SetHeadBig(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdate) SetNotNilOrganizationID(value *uint64) *WxUpdate {
	if value != nil {
		return w.SetOrganizationID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxUpdateOne) SetNotNilOrganizationID(value *uint64) *WxUpdateOne {
	if value != nil {
		return w.SetOrganizationID(*value)
	}
	return w
}

// set field if value's pointer is not nil.
func (w *WxCreate) SetNotNilOrganizationID(value *uint64) *WxCreate {
	if value != nil {
		return w.SetOrganizationID(*value)
	}
	return w
}