> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/shade-academy/shade-academy-zh/zi-dong-hua-yu-zi-ding-yi-dui-xiang/zi-ding-yi-dui-xiang.md).

# 自定义对象

自定义对象让你可以直接在 Shade 中建模业务结构。它们不只是存储文件，你还可以定义你实际处理的内容——客户、项目、活动、玩家、团队成员——以及它们之间的关系。可以把它看作一个轻量级数据库，类似 Notion 或 Airtable，原生构建在 Shade 中，并与你的资产相连。

自定义对象与驱动器中的资产和视图一起管理。像元数据一样，对象创建是有意而为之的，因此你只定义工作流实际需要的对象类型和字段。

{% embed url="<https://youtu.be/74uBur0oNRA?si=8sYhT7IeVITIrQu7>" %}

### 使用自定义对象你可以做什么

* 创建对象类型来表示工作流中的任何内容（例如：客户、项目、活动、玩家）
* 为每个对象添加自定义字段——文本、数字、日期、单选和多选、复选框以及 URL
* 将对象链接到你的资产，并将对象彼此链接起来
* 使用查找字段将对象数据直接展示到资产上
* 基于对象关系构建筛选视图

### 创建你的第一个对象

要创建对象类型：

* 打开驱动器中的对象区域并创建一个新的对象类型
* 为它命名（例如， **客户**)
* 添加你想要跟踪的字段

<figure><img src="https://3843445310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUNq6h2Bfw7aAK0J2ffnZ%2Fuploads%2FLCldqSIZq25F3YTpHP2t%2FCustom%20Objects%201.gif?alt=media&amp;token=fb8912c3-6aba-4379-9f5a-0d58d6a21894" alt=""><figcaption></figcaption></figure>

字段类型包括文本、数字、日期、单选、多选、复选框和 URL，此外还有下面介绍的两种关系字段类型。

代理机构常见的结构像一条链：

**客户 → 项目 → 资产**

要构建它，创建一个 **客户** 对象和一个 **项目** 对象，然后将每个项目连接到一个客户，并将每个资产连接到一个项目。

### 链接对象：关系字段

#### 关系字段

一个 **关系字段** 将一个对象链接到另一个对象。例如，向你的 **项目** 对象添加一个关系字段，它指向一个 **客户**。链接之后，你可以沿任一方向在关系中移动——从项目到它的客户，或者从客户到其所有项目。

你也可以将对象链接到资产。一旦某个资产与项目关联，你可以打开该资产，查看它属于哪个项目和客户，或者从客户出发，展示为该账户创建的每一个资产。

<figure><img src="https://3843445310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUNq6h2Bfw7aAK0J2ffnZ%2Fuploads%2FmpiYBy3iJmYQGmZHjII4%2FCustom%20Objects%202.gif?alt=media&amp;token=96d7a0c4-f77a-4569-bb49-01c8c32a3332" alt=""><figcaption></figcaption></figure>

### 筛选与视图

由于资产和对象彼此连接，你可以基于这些关系构建筛选视图，例如：

* 所有与特定客户相关的素材
* 分配给特定剪辑师的所有资产
* 特定制作阶段中的所有交付物

<figure><img src="https://3843445310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUNq6h2Bfw7aAK0J2ffnZ%2Fuploads%2FW3gf6JG3xsib1Nhb05nm%2FCusotm%20Objects%203.gif?alt=media&amp;token=727552c5-5319-4f24-a780-79cdb767b2a7" alt=""><figcaption></figcaption></figure>

### 在自动化中使用自定义对象

自定义对象本身已经很强大，但当它们与自动化配合使用时，会变得更有用——因为自动化可以 *替你执行交接* 基于你建模的结构。例如：每个资产都有一个 **审批状态** 字段，而且你还有一个简单的 **审阅者** 自定义对象，用来存储谁应该收到什么（内部审阅者、外部审阅者、最终版——附带电子邮件和角色）。当一个剪辑进入 **“审核中”** 时，一个自动化会生成分享链接并通知内部审阅者；当它切换为 **“已批准”** 时，第二个自动化会将最终分享链接发送给外部审阅者。两个阶段，零管理——而且工作流终于与工作本身连接起来了。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://academy.shade.inc/shade-academy/shade-academy-zh/zi-dong-hua-yu-zi-ding-yi-dui-xiang/zi-ding-yi-dui-xiang.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
