package common // 通用记录状态。仅用于 models.Entity.Status。 const ( StatusDraft = 0 // 草稿 StatusEnable = 1 // 启用 StatusDisable = 2 // 停用 StatusArchived = 3 // 已归档 StatusFrozen = 4 // 已冻结 ) // 领域业务状态。必须写入各模型的专用状态字段,禁止写入 Entity.Status。 const ( StatusPending = 10 // 待处理 StatusActive = 11 // 生效中 StatusExpired = 12 // 已过期 StatusTerminated = 13 // 已终止 StatusRecorded = 14 // 已记录 StatusBound = 15 // 已绑定 StatusCreated = 16 // 已创建 StatusOrdered = 17 // 已下单 StatusAssigned = 18 // 已分配 StatusFilling = 19 // 充装中 StatusReady = 20 // 已就绪 StatusException = 21 // 异常 StatusCancelled = 22 // 已取消 StatusCompleted = 23 // 已完成 StatusPosted = 24 // 已入账 StatusApproved = 25 // 已通过 StatusRejected = 26 // 已驳回 StatusScrapped = 27 // 已报废 StatusInStock = 28 // 在库 StatusInTransit = 29 // 运输中 StatusInUse = 30 // 使用中 StatusRepairing = 31 // 维修中 StatusOpen = 32 // 待受理 StatusDelivering = 33 // 配送中 StatusAwaitingConfirmation = 34 // 待确认 StatusPaid = 35 // 已支付 StatusPublished = 36 // 已发布 StatusSuccess = 37 // 成功 StatusMatched = 38 // 已匹配 )