> ## Documentation Index
> Fetch the complete documentation index at: https://docs.subotiz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 业务对象

折扣（Discount）业务对象字段说明

| 属性名              | 类型     | 描述                                                                                                                            |
| ---------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------- |
| id               | string | 折扣对象的唯一 ID                                                                                                                    |
| discount\_name   | string | 折扣名称                                                                                                                          |
| status           | string | 折扣状态：<br />draft：折扣已创建但尚未激活或对用户可见<br />not\_started：折扣已定义，但其开始时间尚未到达<br />ongoing：折扣当前处于活动状态并可供使用<br />completed：折扣已结束，不再可供使用 |
| discount\_code   | string | 在结账时应用的折扣代码                                                                                                                   |
| discount\_method | string | 折扣方式：仅当设置为 "discount\_code" 时才能使用折扣代码：<br />discount\_code：通过折扣代码折扣                                                           |
| starts\_at       | string | 折扣开始时间（UTC 格式），空字符串表示无限制                                                                                                      |
| ends\_at         | string | 折扣结束时间（UTC 格式），空字符串表示无限制                                                                                                      |
| created\_at      | string | 创建时间，UTC 格式字符串                                                                                                                |
| updated\_at      | string | 最后更新时间，UTC 格式字符串                                                                                                              |
