text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (m *AuthMutation) ResetEdge(name string) error { switch name { case auth.EdgeBelongTo: m.ResetBelongTo() return nil } return fmt.Errorf("unknown Auth edge %s", name) }
[ -1.3528211116790771, 1.077850580215454, 0.300894170999527, 1.1390308141708374, 0.5344933271408081, -0.6511361598968506, -0.277974009513855, 0.23937702178955078, 0.040092770010232925, 1.0140471458435059, 0.060782015323638916, 0.5307164192199707, -0.8064714670181274, -0.2341894805431366, 0...
func newJobHistoryMutation(c config, op Op, opts ...jobhistoryOption) *JobHistoryMutation { m := &JobHistoryMutation{ config: c, op: op, typ: TypeJobHistory, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -0.32639938592910767, 0.1719944328069687, 0.26599907875061035, 1.1552857160568237, -0.716167688369751, -0.4154731035232544, 0.5921607613563538, 0.2894872725009918, 0.15910066664218903, -0.16902092099189758, -1.0518205165863037, 0.060921959578990936, -0.06386686861515045, -0.312184780836105...
func withJobHistoryID(id int) jobhistoryOption { return func(m *JobHistoryMutation) { var ( err error once sync.Once value *JobHistory ) m.oldValue = func(ctx context.Context) (*JobHistory, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not al...
[ 0.4152086675167084, -0.17759692668914795, 0.43071022629737854, 0.23762086033821106, -0.3947848677635193, 0.14537650346755981, -0.12423412501811981, -0.659210205078125, 0.5262836217880249, 0.02785223349928856, -0.6020562648773193, 0.44727396965026855, 0.5961117744445801, 0.7931302189826965,...
func withJobHistory(node *JobHistory) jobhistoryOption { return func(m *JobHistoryMutation) { m.oldValue = func(context.Context) (*JobHistory, error) { return node, nil } m.id = &node.ID } }
[ 0.6096648573875427, 0.11403363198041916, 0.4534737467765808, -0.054549530148506165, -0.2473241686820984, -0.24676376581192017, 0.10188716650009155, -0.43900153040885925, 0.32423871755599976, -0.2881029546260834, -0.8790745139122009, 0.24168382585048676, 1.1427807807922363, 0.28173854947090...
func (m JobHistoryMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ 0.14976273477077484, 0.031278159469366074, 0.037586916238069534, 0.2666139006614685, -0.2658292055130005, 0.12090626358985901, 0.9762943983078003, 0.04702851176261902, -0.04264570027589798, -1.0277377367019653, -0.452321857213974, 0.518294632434845, 0.14426733553409576, -0.8403444886207581...
func (m JobHistoryMutation) Tx() (*Tx, error) { if _, ok := m.driver.(*txDriver); !ok { return nil, fmt.Errorf("ent: mutation is not running in a transaction") } tx := &Tx{config: m.config} tx.init() return tx, nil }
[ 0.3017936050891876, 0.4983915388584137, 0.33298584818840027, 0.5442715883255005, 0.26523342728614807, -0.1538732349872589, -0.012435021810233593, 0.49461594223976135, 0.3936725854873657, -0.48230504989624023, -0.34074869751930237, -0.040564991533756256, -0.12073181569576263, -0.71209740638...
func (m *JobHistoryMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.4148101806640625, -0.09098571538925171, 0.4993380606174469, 0.708298921585083, 0.4094819128513336, 0.18945154547691345, 0.27587994933128357, 0.42245498299598694, 0.8215722441673279, -0.12048040330410004, -0.4690367579460144, -0.45543140172958374, -0.7193915247917175, 0.5181827545166016,...
func (m *JobHistoryMutation) SetCreateByUser(i int) { m.create_by = &i }
[ -0.19013026356697083, 0.7040040493011475, 0.3341061472892761, 0.8593010306358337, 0.05529119446873665, -0.20959092676639557, 1.4247806072235107, -0.32742857933044434, -2.128343105316162, -1.1874723434448242, -1.2408441305160522, -1.032199501991272, -0.03313043713569641, 0.5720422267913818,...
func (m *JobHistoryMutation) CreateByUser() (r int, exists bool) { v := m.create_by if v == nil { return } return *v, true }
[ -0.6235541701316833, 1.0399459600448608, 0.6127798557281494, 0.9223164319992065, 0.09514623135328293, -0.6076874732971191, 1.3024712800979614, 0.13972312211990356, -1.658310890197754, -0.5131718516349792, -1.2614284753799438, -1.2443015575408936, -0.5019435882568359, 0.4291989207267761, ...
func (m *JobHistoryMutation) OldCreateByUser(ctx context.Context) (v int, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldCreateByUser is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldCreateByUser requires an ID field in the mutation") }...
[ -0.40090465545654297, 0.31985709071159363, 0.5702974200248718, 0.43909546732902527, -0.3009633421897888, -0.3513205051422119, 1.1586058139801025, -0.586834192276001, -1.0655593872070312, -1.0024062395095825, -0.5169987082481384, -0.09895520657300949, -0.2393336147069931, 0.8493748903274536...
func (m *JobHistoryMutation) ClearCreateByUser() { m.create_by = nil m.clearedFields[jobhistory.FieldCreateByUser] = struct{}{} }
[ 0.1715807169675827, 0.7401202321052551, 0.46945783495903015, 1.1178970336914062, -0.580528736114502, 0.18510787189006805, 0.9600001573562622, -0.8277322053909302, -1.2295689582824707, -0.5303541421890259, -0.8662853240966797, 0.1740073412656784, 0.15081897377967834, 0.19385166466236115, ...
func (m *JobHistoryMutation) CreateByUserCleared() bool { _, ok := m.clearedFields[jobhistory.FieldCreateByUser] return ok }
[ 0.29534733295440674, 0.6872267723083496, 0.5024625062942505, 0.5279853343963623, -0.33313605189323425, 0.23521271347999573, 0.4622161090373993, -0.4254085123538971, -0.8182598948478699, -0.32110723853111267, -0.5503571629524231, -0.578325092792511, -0.1269577294588089, 0.1477024257183075, ...
func (m *JobHistoryMutation) ResetCreateByUser() { m.create_by = nil delete(m.clearedFields, jobhistory.FieldCreateByUser) }
[ 0.5298699140548706, 0.7076151371002197, 0.3855479061603546, 1.213230013847351, -0.03565589338541031, -0.34834280610084534, 0.9556083679199219, -0.45535802841186523, -1.7382553815841675, -0.7027861475944519, -0.8544530868530273, -0.0003733142511919141, -0.20614610612392426, 0.00465062400326...
func (m *JobHistoryMutation) SetCreateTime(t time.Time) { m.create_time = &t }
[ 0.13318094611167908, 0.3986178934574127, 0.2807096838951111, 0.141129270195961, 1.1047773361206055, -0.34963902831077576, -0.6353450417518616, 0.29448792338371277, -0.5383187532424927, 0.20742478966712952, -0.9514691233634949, -1.059425950050354, 0.04147683084011078, 1.487130880355835, -...
func (m *JobHistoryMutation) CreateTime() (r time.Time, exists bool) { v := m.create_time if v == nil { return } return *v, true }
[ -0.38421544432640076, 0.648830235004425, 0.6358049511909485, 0.20098085701465607, 1.3136334419250488, -0.47367313504219055, -0.7069923281669617, -0.1266596019268036, -0.12131157517433167, 0.6621094942092896, -0.6807632446289062, -1.9099704027175903, -0.8314518928527832, 0.6116580367088318,...
func (m *JobHistoryMutation) OldCreateTime(ctx context.Context) (v time.Time, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldCreateTime is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldCreateTime requires an ID field in the mutation") }...
[ -0.5421159267425537, 0.3049107789993286, 0.4240766763687134, -0.4240585267543793, 0.09951477497816086, -0.5356627702713013, -0.30181676149368286, -0.5764997005462646, 0.2652791738510132, 0.6188443899154663, -0.547712504863739, -0.8210017085075378, -0.25039246678352356, 1.1869769096374512, ...
func (m *JobHistoryMutation) ResetCreateTime() { m.create_time = nil }
[ 0.252689391374588, 0.44622528553009033, 0.21472513675689697, 0.29251858592033386, 0.9665088057518005, -0.5912236571311951, -0.30204907059669495, 0.09031328558921814, -0.6484686136245728, 0.4357471168041229, -0.8855336308479309, 0.000669084198307246, -0.721590518951416, 0.7489566206932068, ...
func (m *JobHistoryMutation) SetDate(t time.Time) { m.date = &t }
[ 0.48817142844200134, 0.8850933909416199, 0.09593614190816879, 1.437947154045105, 0.3029005229473114, 0.5288038849830627, -0.44066160917282104, 0.4045872688293457, -0.46166151762008667, -1.0872082710266113, -0.6924793720245361, -0.02471846528351307, -0.2965785562992096, 1.0458914041519165, ...
func (m *JobHistoryMutation) Date() (r time.Time, exists bool) { v := m.date if v == nil { return } return *v, true }
[ -0.04309660196304321, 0.9801997542381287, 0.3795924186706543, 0.8659020662307739, 0.49224215745925903, -0.19367170333862305, -0.4049220085144043, -0.3280678689479828, -0.32251641154289246, -0.26202523708343506, -0.7125214338302612, -0.5699314475059509, -0.5104351043701172, 0.80704069137573...
func (m *JobHistoryMutation) OldDate(ctx context.Context) (v time.Time, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldDate is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldDate requires an ID field in the mutation") } oldValue, err :=...
[ 0.38397783041000366, 0.6207414865493774, 0.45641714334487915, 0.6498432755470276, -0.019076237455010414, 0.3049658536911011, -0.37781426310539246, -0.4003891050815582, 0.14741626381874084, -0.224996417760849, 0.7193000316619873, 0.507761538028717, -0.7311133146286011, 0.7971745133399963, ...
func (m *JobHistoryMutation) ResetDate() { m.date = nil }
[ 0.6342174410820007, 1.0396143198013306, 0.1940394788980484, 1.1215752363204956, 0.8057664036750793, -0.08228415995836258, 0.12497085332870483, 0.6859397292137146, -0.2704288363456726, -1.687178134918213, -0.054270267486572266, 0.353137344121933, -0.8727125525474548, 0.5019835829734802, -...
func (m *JobHistoryMutation) SetJobEntryLeaveType(jelt jobhistory.JobEntryLeaveType) { m.job_entry_leave_type = &jelt }
[ 0.1289706826210022, -0.44724929332733154, 0.211965873837471, -0.20257669687271118, 0.2246471494436264, 0.8039803504943848, -0.7281190156936646, -0.22512425482273102, 0.385771244764328, 0.46522045135498047, -0.3262103497982025, 0.5297876000404358, -0.126938596367836, 0.8608738780021667, -...
func (m *JobHistoryMutation) JobEntryLeaveType() (r jobhistory.JobEntryLeaveType, exists bool) { v := m.job_entry_leave_type if v == nil { return } return *v, true }
[ -0.14286302030086517, 0.27753746509552, 0.3577158451080322, -0.24945814907550812, 0.527861475944519, 0.19066749513149261, -0.7559350728988647, -0.22833958268165588, 0.6275988817214966, 0.5457115173339844, -0.6396288871765137, 0.5119868516921997, -0.43415403366088867, 0.2820852994918823, ...
func (m *JobHistoryMutation) OldJobEntryLeaveType(ctx context.Context) (v jobhistory.JobEntryLeaveType, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldJobEntryLeaveType is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldJobEntryLeaveType r...
[ 0.16946803033351898, 0.05849806219339371, 0.417319118976593, -0.22194631397724152, -0.2011328935623169, 0.05980530381202698, -0.6561909914016724, -0.16803771257400513, 0.8303344249725342, 0.5808964967727661, -0.11315041780471802, 0.7372474074363708, -0.1753045916557312, 1.0423235893249512,...
func (m *JobHistoryMutation) ResetJobEntryLeaveType() { m.job_entry_leave_type = nil }
[ 0.3162882328033447, -0.21941038966178894, 0.11720522493124008, 0.5805319547653198, 0.6144952178001404, 0.5029130578041077, -0.3964884579181671, 0.10248642414808273, -0.2963452935218811, 0.2696448266506195, -0.45012322068214417, 1.1324411630630493, -0.5818055272102356, 0.39582687616348267, ...
func (m *JobHistoryMutation) SetCreateByID(id int) { m.create_by = &id }
[ 0.009323354810476303, 0.19330385327339172, 0.30652040243148804, 0.538780927658081, -0.04330647364258766, -0.1439613699913025, 0.18254142999649048, -0.26817309856414795, -0.4670386016368866, 0.10288545489311218, -1.0202157497406006, -0.651999831199646, 0.030650045722723007, 1.24482583999633...
func (m *JobHistoryMutation) ClearCreateBy() { m.clearedcreate_by = true }
[ -0.028138402849435806, 0.6947404742240906, 0.33968764543533325, 0.984786331653595, 0.08317579329013824, 0.12442247569561005, 0.5456655621528625, -0.38190069794654846, -0.4455506205558777, 0.28770774602890015, -0.15932543575763702, -0.5351857542991638, 0.18684504926204681, 0.393425583839416...
func (m *JobHistoryMutation) CreateByCleared() bool { return m.CreateByUserCleared() || m.clearedcreate_by }
[ 0.2829899489879608, 0.5246398448944092, 0.49483558535575867, 0.6135028600692749, 0.40067991614341736, 0.19598475098609924, 0.08081377297639847, -0.5190613865852356, -0.19891344010829926, -0.4218910038471222, -0.22167973220348358, -0.6024412512779236, -0.5252540111541748, 0.5920582413673401...
func (m *JobHistoryMutation) CreateByID() (id int, exists bool) { if m.create_by != nil { return *m.create_by, true } return }
[ -0.11829555034637451, 0.5313146114349365, 0.49964889883995056, 0.2736740708351135, 0.5159422159194946, -0.32196545600891113, 0.45701712369918823, 0.14892169833183289, -0.4198845624923706, 0.4832718074321747, -0.9210798144340515, -0.8486689329147339, -0.6904036998748779, 0.5878516435623169,...
func (m *JobHistoryMutation) CreateByIDs() (ids []int) { if id := m.create_by; id != nil { ids = append(ids, *id) } return }
[ -0.5177629590034485, 0.599088191986084, 0.25487837195396423, 0.23449262976646423, 0.9909632802009583, -0.9967023134231567, 0.22254644334316254, 0.15389670431613922, -0.5431275367736816, 0.04615132138133049, -0.76744145154953, 0.03762693330645561, -0.3678516745567322, 0.4069017469882965, ...
func (m *JobHistoryMutation) ResetCreateBy() { m.create_by = nil m.clearedcreate_by = false }
[ -0.06144840270280838, 0.4037408232688904, 0.31215375661849976, 0.886126697063446, 0.7296342253684998, -0.5534277558326721, 0.5688101649284363, -0.09623721987009048, -0.9452913403511047, 0.08695496618747711, -0.5887360572814941, -0.483966201543808, -0.3945346176624298, 0.21322567760944366, ...
func (m *JobHistoryMutation) SetBelongToID(id int) { m.belong_to = &id }
[ 0.37969541549682617, -0.15056298673152924, 0.3285205662250519, -0.3633829355239868, 0.5643306970596313, 0.5907108187675476, -0.3263624310493469, -0.33595961332321167, -0.4029414653778076, -0.19385619461536407, -0.7236465811729431, 0.3834218680858612, -0.2958005368709564, 0.9933894276618958...
func (m *JobHistoryMutation) ClearBelongTo() { m.clearedbelong_to = true }
[ 0.389780193567276, 0.4451875686645508, 0.29007649421691895, -0.11731649190187454, 0.7345883846282959, 0.33293771743774414, -0.21642416715621948, -0.7106387615203857, -1.002761721611023, 0.2849539518356323, -0.2832171320915222, 1.2546238899230957, 0.2274290770292282, 0.2364070564508438, -...
func (m *JobHistoryMutation) BelongToCleared() bool { return m.clearedbelong_to }
[ 0.6849936246871948, 0.002881519263610244, 0.5672544836997986, -0.45084476470947266, 0.6580950617790222, 0.7760856747627258, -0.33786943554878235, -0.949232280254364, -0.14291933178901672, -0.40937215089797974, -0.29479390382766724, 0.7995544075965881, -0.32287105917930603, 0.48723128437995...
func (m *JobHistoryMutation) BelongToID() (id int, exists bool) { if m.belong_to != nil { return *m.belong_to, true } return }
[ 0.37325990200042725, -0.07079290598630905, 0.566814124584198, 0.17967002093791962, 0.8938140869140625, 0.46564364433288574, 0.4547273516654968, -0.4346694350242615, 0.23701463639736176, -0.03519837558269501, -0.23915080726146698, 0.13738805055618286, -0.6910344958305359, 0.8019648790359497...
func (m *JobHistoryMutation) BelongToIDs() (ids []int) { if id := m.belong_to; id != nil { ids = append(ids, *id) } return }
[ 0.0772012323141098, -0.1387651264667511, 0.2898840010166168, -0.46107110381126404, 1.3725605010986328, -0.27756190299987793, 0.21919381618499756, -0.18955306708812714, -0.1694330871105194, -0.5632377862930298, -0.3182241916656494, 0.4728088974952698, -0.5212588310241699, 0.4677088558673858...
func (m *JobHistoryMutation) ResetBelongTo() { m.belong_to = nil m.clearedbelong_to = false }
[ 0.6622579097747803, 0.4095305800437927, 0.26161304116249084, -0.006174592766910791, 1.4748951196670532, -0.33655688166618347, 0.33698025345802307, -0.5722803473472595, -1.3033123016357422, -0.21673443913459778, -0.6010412573814392, 1.296838402748108, -0.5965704321861267, -0.163471192121505...
func (m *JobHistoryMutation) Where(ps ...predicate.JobHistory) { m.predicates = append(m.predicates, ps...) }
[ 0.010430008172988892, -0.19457562267780304, 0.2764827609062195, 0.05199727043509483, -0.33024120330810547, 0.10177629441022873, -0.14421118795871735, 0.08157118409872055, -0.9389734864234924, -0.7465499639511108, 0.06053866446018219, 0.7804654240608215, 0.6509732604026794, -0.0199203528463...
func (m *JobHistoryMutation) Op() Op { return m.op }
[ -0.6004088521003723, 0.23209644854068756, 0.029787490144371986, 0.8160262703895569, 0.014069903641939163, 0.5088183879852295, 1.000711441040039, 0.6929482817649841, 0.3041069507598877, -0.08969651162624359, -0.012146569788455963, -0.5353583097457886, 0.32262396812438965, -0.908983051776886...
func (m *JobHistoryMutation) Type() string { return m.typ }
[ -0.059608958661556244, -0.28694379329681396, 0.04235727712512016, 0.715998649597168, 0.8203698992729187, 0.26927030086517334, 0.8406984210014343, -0.6953719258308411, 0.6697552800178528, -0.3599357306957245, 0.013047181069850922, -0.012061815708875656, -0.33010587096214294, 0.2627864480018...
func (m *JobHistoryMutation) Fields() []string { fields := make([]string, 0, 4) if m.create_by != nil { fields = append(fields, jobhistory.FieldCreateByUser) } if m.create_time != nil { fields = append(fields, jobhistory.FieldCreateTime) } if m.date != nil { fields = append(fields, jobhistory.FieldDate) } ...
[ -0.44831976294517517, 0.4898434579372406, 0.3149000108242035, -0.4366837739944458, 0.575886607170105, 0.05244872719049454, -0.550256073474884, -0.2535880208015442, 0.4473268687725067, -0.09721694886684418, -0.6959238648414612, -0.26919564604759216, -0.1438162475824356, 0.3354814648628235, ...
func (m *JobHistoryMutation) Field(name string) (ent.Value, bool) { switch name { case jobhistory.FieldCreateByUser: return m.CreateByUser() case jobhistory.FieldCreateTime: return m.CreateTime() case jobhistory.FieldDate: return m.Date() case jobhistory.FieldJobEntryLeaveType: return m.JobEntryLeaveType()...
[ -1.0021363496780396, 0.4184143543243408, 0.5723670721054077, -0.06297935545444489, -0.23886969685554504, 0.48514124751091003, -0.7465102672576904, -0.11431638151407242, 0.09101063013076782, -0.177681565284729, -0.7021493911743164, -0.11304329335689545, 0.047618769109249115, 0.8402440547943...
func (m *JobHistoryMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case jobhistory.FieldCreateByUser: return m.OldCreateByUser(ctx) case jobhistory.FieldCreateTime: return m.OldCreateTime(ctx) case jobhistory.FieldDate: return m.OldDate(ctx) case jobhistory.FieldJobEnt...
[ -0.23807358741760254, 0.3752749562263489, 0.4892065227031708, -0.5779874324798584, 0.032026831060647964, 0.3709287643432617, 0.08997882157564163, -0.6165148615837097, 0.057895172387361526, -0.3155556321144104, -0.36621618270874023, 0.31923356652259827, -0.014536062255501747, 0.357199847698...
func (m *JobHistoryMutation) SetField(name string, value ent.Value) error { switch name { case jobhistory.FieldCreateByUser: v, ok := value.(int) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetCreateByUser(v) return nil case jobhistory.FieldCreateTime: v, ok := value...
[ -0.6732479929924011, 0.4857458770275116, 0.6799048781394958, -0.102315254509449, -0.4252517521381378, 0.5734584331512451, -0.08662444353103638, -0.2935468554496765, -0.28308555483818054, -0.08927546441555023, -0.3965972363948822, 0.2335198074579239, 0.18172375857830048, 0.9979785680770874,...
func (m *JobHistoryMutation) AddedFields() []string { var fields []string return fields }
[ -0.040636658668518066, 0.3853536546230316, 0.3258098363876343, 0.04219718277454376, 0.34429681301116943, 0.7094924449920654, 0.011450767517089844, 0.11483433842658997, 0.6678446531295776, -1.1601784229278564, -0.4534025490283966, 0.1381368339061737, -0.898121178150177, 0.39199116826057434,...
func (m *JobHistoryMutation) AddedField(name string) (ent.Value, bool) { switch name { } return nil, false }
[ -1.1413785219192505, 0.7873601913452148, 0.6326700448989868, -0.2955285608768463, -0.12067015469074249, 1.0239956378936768, -0.2810536026954651, 0.2458053082227707, 0.4391990900039673, -0.7430307865142822, -0.9693843126296997, -0.8804504871368408, -1.1745455265045166, 0.291384220123291, ...
func (m *JobHistoryMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown JobHistory numeric field %s", name) }
[ -0.521614670753479, 0.8581311106681824, 0.5816020965576172, 0.20911721885204315, -0.15505297482013702, 1.1521644592285156, -0.8538411855697632, -0.07962900400161743, -0.3892650306224823, -0.4789157509803772, -0.021432913839817047, -0.7125064134597778, 0.12184593826532364, 0.433240681886673...
func (m *JobHistoryMutation) ClearedFields() []string { var fields []string if m.FieldCleared(jobhistory.FieldCreateByUser) { fields = append(fields, jobhistory.FieldCreateByUser) } return fields }
[ -0.018598172813653946, 1.0120046138763428, 0.18700188398361206, 0.48414504528045654, -0.41089606285095215, 0.2791741192340851, 0.22321884334087372, -0.5973383188247681, 0.38963907957077026, -0.03694577515125275, -0.4923284947872162, 0.057059284299612045, -0.41084596514701843, -0.2613496184...
func (m *JobHistoryMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.46814677119255066, 0.46577712893486023, 0.7051397562026978, -0.13666222989559174, -0.2921103537082672, 0.2867596447467804, -0.6328098177909851, 0.2513779401779175, -0.1560414433479309, -0.48732826113700867, -0.968148410320282, -0.36131417751312256, 0.4344295859336853, -0.331427186727523...
func (m *JobHistoryMutation) ClearField(name string) error { switch name { case jobhistory.FieldCreateByUser: m.ClearCreateByUser() return nil } return fmt.Errorf("unknown JobHistory nullable field %s", name) }
[ -0.25874245166778564, 1.3923991918563843, 0.4436885118484497, 0.4727523922920227, -0.3666439652442932, 0.7383360862731934, -0.12368478626012802, -0.5997968316078186, 0.10761673003435135, 0.1296110451221466, -0.2917715609073639, -0.4384065568447113, 0.16085116565227509, 0.43243005871772766,...
func (m *JobHistoryMutation) ResetField(name string) error { switch name { case jobhistory.FieldCreateByUser: m.ResetCreateByUser() return nil case jobhistory.FieldCreateTime: m.ResetCreateTime() return nil case jobhistory.FieldDate: m.ResetDate() return nil case jobhistory.FieldJobEntryLeaveType: m....
[ -0.5105300545692444, 1.0272566080093384, 0.4250170886516571, 0.15635943412780762, 0.24364151060581207, 0.22572802007198334, 0.337417334318161, -0.28620415925979614, 0.028381168842315674, -0.041826553642749786, -0.6864510774612427, 0.012976720929145813, -0.4095086455345154, 0.17588119208812...
func (m *JobHistoryMutation) AddedEdges() []string { edges := make([]string, 0, 2) if m.create_by != nil { edges = append(edges, jobhistory.EdgeCreateBy) } if m.belong_to != nil { edges = append(edges, jobhistory.EdgeBelongTo) } return edges }
[ -0.060512177646160126, 0.07197610288858414, 0.3324189782142639, 0.5125799775123596, 0.5577588677406311, 0.11488139629364014, -0.6700199842453003, -0.10883063077926636, 0.6636994481086731, -0.4082326591014862, 0.3219445049762726, 0.4744149148464203, -0.2962647080421448, 0.6429257392883301, ...
func (m *JobHistoryMutation) AddedIDs(name string) []ent.Value { switch name { case jobhistory.EdgeCreateBy: if id := m.create_by; id != nil { return []ent.Value{*id} } case jobhistory.EdgeBelongTo: if id := m.belong_to; id != nil { return []ent.Value{*id} } } return nil }
[ -0.40110909938812256, -0.0988696962594986, 0.36541748046875, -0.1783262938261032, 0.297127902507782, 0.20193052291870117, -0.7947894334793091, -0.08545650541782379, 0.49071404337882996, -0.21767264604568481, -0.04723270609974861, 0.5641312599182129, -0.11716807633638382, 0.8226366639137268...
func (m *JobHistoryMutation) RemovedEdges() []string { edges := make([]string, 0, 2) return edges }
[ -0.23584648966789246, -0.16380183398723602, 0.589481770992279, 0.3204140067100525, -0.13032296299934387, -0.29590904712677, -0.12381039559841156, 0.6776197552680969, 0.5934462547302246, -0.1605515331029892, -0.6891623735427856, 0.31236347556114197, -1.0598187446594238, 0.1271786391735077, ...
func (m *JobHistoryMutation) RemovedIDs(name string) []ent.Value { switch name { } return nil }
[ -0.6106364130973816, -0.07120789587497711, 0.4946458339691162, -0.35904109477996826, 0.018236149102449417, 0.156607523560524, -0.34832680225372314, 0.8056615591049194, 0.47017791867256165, -0.35254013538360596, -1.674364686012268, -0.11675325781106949, -0.833625316619873, 0.594516634941101...
func (m *JobHistoryMutation) ClearedEdges() []string { edges := make([]string, 0, 2) if m.clearedcreate_by { edges = append(edges, jobhistory.EdgeCreateBy) } if m.clearedbelong_to { edges = append(edges, jobhistory.EdgeBelongTo) } return edges }
[ -0.4920627474784851, 0.2555840313434601, 0.3987223207950592, 0.5515955090522766, -0.3742949962615967, -0.26140308380126953, -0.4640618860721588, -0.6499419212341309, 0.28720441460609436, 1.0168384313583374, 0.2796715497970581, 0.9201669096946716, -0.09864484518766403, -0.15904660522937775,...
func (m *JobHistoryMutation) EdgeCleared(name string) bool { switch name { case jobhistory.EdgeCreateBy: return m.clearedcreate_by case jobhistory.EdgeBelongTo: return m.clearedbelong_to } return false }
[ -0.6368119716644287, 0.22479796409606934, 0.7172788381576538, -0.24255426228046417, -0.2207852602005005, 0.292493611574173, -0.34508630633354187, -0.38964298367500305, -0.1142561063170433, 0.52671217918396, -0.17637254297733307, 0.07798171788454056, -0.4213520884513855, -0.0024180705659091...
func (m *JobHistoryMutation) ClearEdge(name string) error { switch name { case jobhistory.EdgeCreateBy: m.ClearCreateBy() return nil case jobhistory.EdgeBelongTo: m.ClearBelongTo() return nil } return fmt.Errorf("unknown JobHistory unique edge %s", name) }
[ -0.8580785393714905, 1.0653401613235474, 0.47709935903549194, 0.9085671901702881, 0.08421698212623596, -0.003597644157707691, -0.1734212189912796, 0.2253742814064026, -0.10888849198818207, 0.2678600549697876, 0.10171985626220703, -0.08519650250673294, -0.04379437491297722, 0.69490510225296...
func (m *JobHistoryMutation) ResetEdge(name string) error { switch name { case jobhistory.EdgeCreateBy: m.ResetCreateBy() return nil case jobhistory.EdgeBelongTo: m.ResetBelongTo() return nil } return fmt.Errorf("unknown JobHistory edge %s", name) }
[ -0.7822641134262085, 0.8740494847297668, 0.45105671882629395, 0.7805459499359131, 0.648227870464325, -0.409829705953598, 0.020965205505490303, 0.5365608930587769, -0.4747336506843567, 0.42518651485443115, -0.18064865469932556, 0.14389635622501373, -0.5844709873199463, 0.12261734157800674, ...
func newOrgUnitMutation(c config, op Op, opts ...orgunitOption) *OrgUnitMutation { m := &OrgUnitMutation{ config: c, op: op, typ: TypeOrgUnit, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -1.2938004732131958, -0.6353172659873962, 0.3476387560367584, -0.012431321665644646, -0.17115649580955505, 0.1186334490776062, 0.5074467658996582, 0.22924906015396118, 0.29111558198928833, 0.5210020542144775, -0.621161937713623, -0.08760251849889755, -0.9038345217704773, -1.124113559722900...
func withOrgUnitID(id int) orgunitOption { return func(m *OrgUnitMutation) { var ( err error once sync.Once value *OrgUnit ) m.oldValue = func(ctx context.Context) (*OrgUnit, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed") } e...
[ -0.3075668513774872, -0.9785845279693604, 0.5228958129882812, -0.6546902656555176, 0.15541769564151764, 0.6444658637046814, -0.4124886095523834, -0.6127954125404358, 0.2923092544078827, 0.5101913213729858, 0.018714329227805138, 0.6708023548126221, 0.0835559293627739, -0.2533756494522095, ...
func withOrgUnit(node *OrgUnit) orgunitOption { return func(m *OrgUnitMutation) { m.oldValue = func(context.Context) (*OrgUnit, error) { return node, nil } m.id = &node.ID } }
[ -0.3979453444480896, -0.4788246750831604, 0.5343632102012634, -1.5021876096725464, 0.1781531572341919, 0.3838232755661011, 0.18649806082248688, -0.21627137064933777, -0.041435930877923965, -0.3979475796222687, -0.09714850038290024, 0.9150409698486328, 0.08724890649318695, -0.89089924097061...
func (m OrgUnitMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ -0.2823939919471741, -0.6181962490081787, 0.02887909486889839, 0.036867596209049225, 0.011196503415703773, 0.7431625723838806, 1.0358126163482666, -0.2761843502521515, 0.0773877501487732, -0.8034181594848633, -0.08101113885641098, 0.43222925066947937, -0.24824242293834686, -1.0008890628814...
func (m OrgUnitMutation) Tx() (*Tx, error) { if _, ok := m.driver.(*txDriver); !ok { return nil, fmt.Errorf("ent: mutation is not running in a transaction") } tx := &Tx{config: m.config} tx.init() return tx, nil }
[ -0.24687518179416656, 0.23719310760498047, 0.44144365191459656, 0.3848903775215149, 0.6884884238243103, 0.2584589123725891, 0.13521942496299744, 0.18659774959087372, 0.39172980189323425, -0.11859449744224548, -0.1143822968006134, -0.15202076733112335, -0.5161978006362915, -0.93423557281494...
func (m *OrgUnitMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.8001469373703003, -0.3250347673892975, 0.6426425576210022, 0.45135965943336487, 0.8277212381362915, 0.6226657032966614, 0.09282858669757843, 0.21402479708194733, 0.9396868348121643, 0.28677281737327576, -0.11879678815603256, -0.455532431602478, -1.122061014175415, 0.35412490367889404, ...
func (m *OrgUnitMutation) SetCreateByUser(i int) { m.create_by = &i }
[ -0.18762503564357758, 0.5262058973312378, 0.37581542134284973, 0.5682817697525024, 0.22894781827926636, 0.1773885041475296, 1.585763692855835, -0.4765816926956177, -2.0352365970611572, -0.8204239010810852, -0.8358327746391296, -1.0017019510269165, -0.1212785467505455, 0.4677189886569977, ...
func (m *OrgUnitMutation) CreateByUser() (r int, exists bool) { v := m.create_by if v == nil { return } return *v, true }
[ -0.710851788520813, 0.8012649416923523, 0.6589412093162537, 0.6125927567481995, 0.307285875082016, -0.2169273942708969, 1.3037773370742798, -0.021441945806145668, -1.4434322118759155, -0.20739227533340454, -1.0001615285873413, -1.213868498802185, -0.6248881220817566, 0.36250758171081543, ...
func (m *OrgUnitMutation) OldCreateByUser(ctx context.Context) (v int, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldCreateByUser is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldCreateByUser requires an ID field in the mutation") } o...
[ -0.7499364614486694, 0.1695667952299118, 0.673282265663147, 0.2326703667640686, 0.1343093365430832, -0.033846739679574966, 1.5403200387954712, -0.6554057598114014, -0.7542900443077087, -0.9674131870269775, -0.26819801330566406, -0.026034759357571602, -0.3857702612876892, 0.7541330456733704...
func (m *OrgUnitMutation) ClearCreateByUser() { m.create_by = nil m.clearedFields[orgunit.FieldCreateByUser] = struct{}{} }
[ 0.08272775262594223, 0.5035650730133057, 0.48894941806793213, 0.8012797236442566, -0.34448766708374023, 0.5179771780967712, 1.0177656412124634, -0.9098109006881714, -1.0072319507598877, -0.27353012561798096, -0.5253532528877258, 0.2527046203613281, -0.13365118205547333, -0.1487573236227035...
func (m *OrgUnitMutation) CreateByUserCleared() bool { _, ok := m.clearedFields[orgunit.FieldCreateByUser] return ok }
[ 0.05048784613609314, 0.38240599632263184, 0.6193723678588867, 0.18213415145874023, 0.16289520263671875, 0.8099374175071716, 0.5699155926704407, -0.5434982180595398, -0.6385129690170288, -0.1512843370437622, -0.15343791246414185, -0.3287349045276642, -0.5282040238380432, -0.3667183816432953...
func (m *OrgUnitMutation) ResetCreateByUser() { m.create_by = nil delete(m.clearedFields, orgunit.FieldCreateByUser) }
[ 0.37674838304519653, 0.46607497334480286, 0.4602988362312317, 0.8285026550292969, 0.2605900764465332, 0.03052566945552826, 1.0947519540786743, -0.5601605772972107, -1.5007182359695435, -0.5527055859565735, -0.42311495542526245, 0.12601734697818756, -0.5281524658203125, -0.32717370986938477...
func (m *OrgUnitMutation) SetUpdateByUser(i int) { m.update_by = &i }
[ -0.24873001873493195, 0.15500935912132263, 0.4573110044002533, 0.6174437999725342, -0.7904708981513977, -0.21415063738822937, 1.136116623878479, 0.2049071490764618, -1.3375192880630493, -0.3310850262641907, -0.3079240918159485, -1.0969058275222778, -0.22792595624923706, -0.2581952512264251...
func (m *OrgUnitMutation) UpdateByUser() (r int, exists bool) { v := m.update_by if v == nil { return } return *v, true }
[ -1.1021027565002441, 0.453843891620636, 0.7297287583351135, 0.5768190622329712, -0.44498416781425476, -0.45771917700767517, 1.232483148574829, 0.2354929894208908, -1.1067335605621338, 0.043366655707359314, -0.9309068918228149, -0.7999353408813477, -0.7840056419372559, -0.217540442943573, ...
func (m *OrgUnitMutation) OldUpdateByUser(ctx context.Context) (v int, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldUpdateByUser is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldUpdateByUser requires an ID field in the mutation") } o...
[ -0.6405907273292542, -0.11183533817529678, 0.7070015072822571, 0.36145704984664917, -0.37440770864486694, -0.31663262844085693, 1.0252368450164795, -0.34256380796432495, -0.49871423840522766, -0.5465490818023682, -0.14688387513160706, -0.08774207532405853, -0.5687127113342285, 0.4966858327...
func (m *OrgUnitMutation) ClearUpdateByUser() { m.update_by = nil m.clearedFields[orgunit.FieldUpdateByUser] = struct{}{} }
[ 0.10244698077440262, -0.08046148717403412, 0.47909072041511536, 1.1117721796035767, -1.4733233451843262, 0.4149865210056305, 0.32688528299331665, -0.04199600592255592, -0.37010809779167175, 0.21475227177143097, 0.01422471459954977, -0.1617356240749359, -0.1685703694820404, -0.8062057495117...
func (m *OrgUnitMutation) UpdateByUserCleared() bool { _, ok := m.clearedFields[orgunit.FieldUpdateByUser] return ok }
[ -0.11994055658578873, -0.006516408175230026, 0.5712969899177551, 0.30840617418289185, -0.8881520628929138, 0.4619302749633789, 0.4484030306339264, -0.3292407989501953, -0.48442181944847107, 0.4074746072292328, -0.013230749405920506, 0.14026136696338654, -0.7719742655754089, -0.777856230735...
func (m *OrgUnitMutation) ResetUpdateByUser() { m.update_by = nil delete(m.clearedFields, orgunit.FieldUpdateByUser) }
[ 0.3416368067264557, -0.2561493515968323, 0.3763965368270874, 1.150853157043457, -0.5693987011909485, -0.3246971070766449, 0.7122260332107544, 0.11143720895051956, -0.937549352645874, 0.10055846720933914, 0.22390002012252808, -0.05032433569431305, -0.6550338268280029, -1.1511824131011963, ...
func (m *OrgUnitMutation) SetCreateTime(t time.Time) { m.create_time = &t }
[ -0.09550255537033081, 0.20545345544815063, 0.4471416175365448, -0.2192516177892685, 1.3063634634017944, 0.21632176637649536, -0.320919930934906, -0.03372395783662796, -0.4159054160118103, 0.576224148273468, -0.4100511968135834, -0.9634619951248169, -0.10015412420034409, 1.2295005321502686,...
func (m *OrgUnitMutation) CreateTime() (r time.Time, exists bool) { v := m.create_time if v == nil { return } return *v, true }
[ -0.5968126058578491, 0.5269168615341187, 0.7545814514160156, 0.026620514690876007, 1.3986995220184326, -0.06062812730669975, -0.5374501943588257, -0.3445795476436615, -0.016061201691627502, 0.9968473315238953, -0.4414540231227875, -1.9031264781951904, -1.00148606300354, 0.41912341117858887...
func (m *OrgUnitMutation) OldCreateTime(ctx context.Context) (v time.Time, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldCreateTime is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldCreateTime requires an ID field in the mutation") } o...
[ -1.0790349245071411, 0.06874343007802963, 0.6397802233695984, -0.48564842343330383, 0.6050005555152893, -0.21404114365577698, 0.19504013657569885, -0.5335708260536194, 0.4116049110889435, 0.6800337433815002, -0.09709448367357254, -0.8906155228614807, -0.4513685405254364, 0.8952040076255798...
func (m *OrgUnitMutation) ResetCreateTime() { m.create_time = nil }
[ 0.023136919364333153, 0.07762876152992249, 0.274252712726593, -0.04518735408782959, 1.2447887659072876, -0.15870940685272217, -0.04004793241620064, -0.13673919439315796, -0.5942074060440063, 0.7683774828910828, -0.4521944522857666, 0.24988430738449097, -0.9084540009498596, 0.46962291002273...
func (m *OrgUnitMutation) SetUpdateTime(t time.Time) { m.update_time = &t }
[ -0.4464244842529297, -0.17832179367542267, 0.6529140472412109, 0.08482732623815536, 0.06090100109577179, 0.45416536927223206, -0.736939013004303, 0.8248039484024048, 0.3398098349571228, 1.0657223463058472, -0.058503471314907074, -0.7536990642547607, -0.026046711951494217, 0.571410059928894...
func (m *OrgUnitMutation) UpdateTime() (r time.Time, exists bool) { v := m.update_time if v == nil { return } return *v, true }
[ -1.0305553674697876, 0.3470965325832367, 0.8778983950614929, 0.4140019416809082, 0.3759586811065674, -0.04641834646463394, -0.5918117165565491, 0.15395334362983704, 0.06172195076942444, 1.3350331783294678, -0.36898720264434814, -1.4272935390472412, -0.9031795859336853, 0.14372169971466064,...
func (m *OrgUnitMutation) OldUpdateTime(ctx context.Context) (v *time.Time, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldUpdateTime is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldUpdateTime requires an ID field in the mutation") } ...
[ -1.6913468837738037, -0.10295046865940094, 0.7307206988334656, -0.023346560075879097, -0.33471524715423584, -0.13681460916996002, -0.05070515722036362, -0.29434481263160706, 0.2464296519756317, 0.516082763671875, -0.0827770084142685, -0.7872233986854553, -0.297403484582901, 0.7401990890502...
func (m *OrgUnitMutation) ClearUpdateTime() { m.update_time = nil m.clearedFields[orgunit.FieldUpdateTime] = struct{}{} }
[ -0.5905152559280396, -0.1515076756477356, 0.4849284887313843, 0.1635846048593521, -0.7582112550735474, 0.7196710109710693, -0.7237088680267334, -0.07804842293262482, 0.2003420889377594, 1.191310167312622, -0.07189683616161346, -0.2503470182418823, 0.06421846151351929, -0.09058180451393127,...
func (m *OrgUnitMutation) UpdateTimeCleared() bool { _, ok := m.clearedFields[orgunit.FieldUpdateTime] return ok }
[ -0.9455801844596863, 0.08889620751142502, 0.6609593629837036, -0.037165138870477676, -0.5396090745925903, 0.516732394695282, -0.7382268905639648, -0.6705036163330078, -0.10193163901567459, 0.9667361974716187, -0.10263501852750778, -0.1765982061624527, -0.8262496590614319, 0.112738601863384...
func (m *OrgUnitMutation) ResetUpdateTime() { m.update_time = nil delete(m.clearedFields, orgunit.FieldUpdateTime) }
[ -0.21908438205718994, -0.260781854391098, 0.32708266377449036, 0.3893948793411255, -0.016562899574637413, -0.09578262269496918, -0.2717876136302948, 0.2850530445575714, -0.22964699566364288, 0.8145897388458252, -0.26179513335227966, -0.19733001291751862, -0.5500625967979431, -0.41775214672...
func (m *OrgUnitMutation) SetName(s string) { m.name = &s }
[ -0.43353432416915894, 0.15991465747356415, 0.3104563355445862, 0.47983503341674805, -0.14205524325370789, 0.051095835864543915, 0.2559164762496948, 0.6075461506843567, -0.36469149589538574, 0.08642728626728058, -0.2849441170692444, -0.3464992046356201, -0.36667925119400024, 0.1556385606527...
func (m *OrgUnitMutation) Name() (r string, exists bool) { v := m.name if v == nil { return } return *v, true }
[ -1.507028579711914, 0.010415803641080856, 0.720082700252533, 0.3064710199832916, 0.0975116491317749, -0.49094489216804504, 0.17061954736709595, -0.4258708357810974, -0.15546320378780365, 1.0036228895187378, -0.35470128059387207, -1.0699397325515747, -0.7558711767196655, -0.4582574665546417...
func (m *OrgUnitMutation) OldName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldName is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldName requires an ID field in the mutation") } oldValue, err := m.old...
[ -0.49760740995407104, -0.2947588264942169, 0.8124951124191284, 0.35547515749931335, 0.11680443584918976, 0.2654728889465332, 0.22373837232589722, -0.23055382072925568, 0.17701877653598785, 0.5059127807617188, 0.9380357265472412, 0.2822994887828827, -0.18290036916732788, -0.2288569062948227...
func (m *OrgUnitMutation) ResetName() { m.name = nil }
[ -0.2797694206237793, -0.23434193432331085, 0.36238017678260803, 0.3738138973712921, 0.4894307553768158, -0.1702168583869934, 0.19402174651622772, 0.4046880304813385, -0.3528785705566406, 0.15317779779434204, -0.16236570477485657, 0.1385943591594696, -0.6649693846702576, -0.3662761151790619...
func (m *OrgUnitMutation) SetDuty(s string) { m.duty = &s }
[ 0.02714071422815323, 0.3462221920490265, 0.33452489972114563, 0.22431039810180664, 0.6306430101394653, 0.10139825940132141, 0.42144033312797546, -0.40451720356941223, -0.5013461709022522, -0.37587934732437134, -0.8674713969230652, 0.5948672294616699, -0.17567960917949677, 0.445104271173477...
func (m *OrgUnitMutation) Duty() (r string, exists bool) { v := m.duty if v == nil { return } return *v, true }
[ -0.6809880137443542, 0.3509358763694763, 0.769261360168457, 0.11611747741699219, 0.8755286335945129, 0.20384939014911652, 0.05930875614285469, -0.47372180223464966, -0.32392123341560364, 0.7776856422424316, -0.6959571838378906, -0.6251804232597351, -1.333932638168335, -0.0842050090432167, ...
func (m *OrgUnitMutation) OldDuty(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldDuty is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldDuty requires an ID field in the mutation") } oldValue, err := m.old...
[ -0.767555832862854, -0.4514246881008148, 0.7974982261657715, -0.6325477957725525, 0.6785646677017212, -0.3653620779514313, 0.6157341599464417, -0.9175854325294495, 0.18975144624710083, 0.12153512984514236, 0.2850346863269806, 0.5940269827842712, -0.10011771321296692, 0.8574140071868896, ...
func (m *OrgUnitMutation) ClearDuty() { m.duty = nil m.clearedFields[orgunit.FieldDuty] = struct{}{} }
[ -0.52780681848526, 0.3465845584869385, 0.45494040846824646, -0.697318434715271, 0.18269114196300507, 0.1932327151298523, 0.20793217420578003, -1.0626662969589233, -0.2501498758792877, -0.025804493576288223, -0.5152501463890076, 0.9844131469726562, 0.0605735257267952, 0.17913317680358887, ...
func (m *OrgUnitMutation) DutyCleared() bool { _, ok := m.clearedFields[orgunit.FieldDuty] return ok }
[ -0.751112163066864, -0.015968380495905876, 0.8522002100944519, -1.1185537576675415, 0.47574377059936523, 0.7163518667221069, 0.009489607997238636, -0.9123510718345642, -0.48304033279418945, 0.22810916602611542, -0.2602120041847229, 0.8539150357246399, -0.581829845905304, 0.1068759337067604...
func (m *OrgUnitMutation) ResetDuty() { m.duty = nil delete(m.clearedFields, orgunit.FieldDuty) }
[ -0.1858154684305191, 0.37087374925613403, 0.4300427734851837, -0.22697165608406067, 0.9264825582504272, -0.3265572488307953, 0.7021605968475342, -0.5900013446807861, -0.6941421031951904, -0.2953955829143524, -0.4793488085269928, 1.105157494544983, -0.48533958196640015, 0.025638030841946602...
func (m *OrgUnitMutation) SetCreateByID(id int) { m.create_by = &id }
[ -0.15458907186985016, -0.15943096578121185, 0.4577796459197998, 0.1358497142791748, 0.32514867186546326, 0.4450225830078125, 0.2176414132118225, -0.47221285104751587, -0.2996601462364197, 0.3961794674396515, -0.5239607691764832, -0.6472536325454712, -0.32502293586730957, 1.0681124925613403...
func (m *OrgUnitMutation) ClearCreateBy() { m.clearedcreate_by = true }
[ -0.1805662214756012, 0.3413529694080353, 0.4461784362792969, 0.5979580283164978, 0.3134039044380188, 0.750683069229126, 0.71160888671875, -0.6004565358161926, -0.35500434041023254, 0.6161819696426392, 0.24359329044818878, -0.3014453649520874, 0.020941611379384995, 0.0021500522270798683, ...
func (m *OrgUnitMutation) CreateByCleared() bool { return m.CreateByUserCleared() || m.clearedcreate_by }
[ 0.04164711758494377, 0.13219258189201355, 0.5665455460548401, 0.2672751843929291, 0.7384160161018372, 0.6924251914024353, 0.14840340614318848, -0.7158540487289429, -0.10832741111516953, -0.15535099804401398, 0.04219717159867287, -0.45617812871932983, -0.7026049494743347, 0.3053546845912933...