| 80 | } |
| 81 | |
| 82 | type PropertyField struct { |
| 83 | ID string `json:"id"` |
| 84 | GroupID string `json:"group_id"` |
| 85 | Name string `json:"name"` |
| 86 | Type PropertyFieldType `json:"type"` |
| 87 | Attrs StringInterface `json:"attrs"` |
| 88 | TargetID string `json:"target_id"` |
| 89 | TargetType string `json:"target_type"` |
| 90 | ObjectType string `json:"object_type"` |
| 91 | Protected bool `json:"protected"` |
| 92 | PermissionField *PermissionLevel `json:"permission_field,omitempty"` |
| 93 | PermissionValues *PermissionLevel `json:"permission_values,omitempty"` |
| 94 | PermissionOptions *PermissionLevel `json:"permission_options,omitempty"` |
| 95 | LinkedFieldID *string `json:"linked_field_id,omitempty"` |
| 96 | CreateAt int64 `json:"create_at"` |
| 97 | UpdateAt int64 `json:"update_at"` |
| 98 | DeleteAt int64 `json:"delete_at"` |
| 99 | CreatedBy string `json:"created_by"` |
| 100 | UpdatedBy string `json:"updated_by"` |
| 101 | } |
| 102 | |
| 103 | func (pf *PropertyField) Auditable() map[string]any { |
| 104 | return map[string]any{ |
nothing calls this directly
no outgoing calls
no test coverage detected