> 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/custom-objects.md).

# 自定义对象

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

自定义对象与资产和视图一起在云盘中管理。像元数据一样，对象创建也保持有意而为，因此你只定义工作流真正需要的对象类型和字段。

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

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

* 创建对象类型来表示工作流中的任何内容（例如客户、项目、活动、参与者）
* 为每个对象添加自定义字段——文本、数字、日期、单选和多选、复选框以及评分
* 将对象链接到你的资产，并将对象彼此相互链接
* 使用查找字段将对象数据直接展示到资产上
* 基于对象关系构建筛选视图
* 将记录以表格、看板或日历的形式查看

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

要创建一个对象类型：

* 打开云盘中的对象区域，并创建一个新的对象类型
* 给它起个名字（例如， **客户**)
* 添加你想在其上跟踪的字段

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

字段类型包括 **文本**, **数字**, **单选**, **多选**, **复选框**, **日期**和 **评分**，以及关系字段类型： **关联** （链接到资产或其他对象，下面会介绍）， **用户** （链接到工作区成员），以及 **个人** （链接到一个已识别的人）。

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

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

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

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

#### 关系字段

一个 **关系字段** 将一个对象链接到另一个对象。例如，向你的 **项目** 对象添加一个指向 **客户**。一旦链接，你就可以沿着该关系双向浏览——从项目到其客户，或从客户到其所有项目。

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

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

### 筛选与视图

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

* 所有关联到特定客户的素材
* 分配给特定编辑的所有资产
* 处于特定制作阶段的所有交付物

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

#### 布局

当你向对象添加视图时，选择一种布局：

* **表格** ——记录以行和列显示
* **看板** ——记录以卡片形式显示，并按某个单选字段（如状态）分组到各列中
* **日历** ——记录按日期字段放置在日历上

如果对象还没有合适的字段，Shade 会为你创建一个： **状态** 看板的字段，或者一个 **日期** 日历的字段。

### 将自定义对象与自动化结合使用

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


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
