max / makenotwork
| 1 | //! Split export row model. |
| 2 | |
| 3 | use ; |
| 4 | use FromRow; |
| 5 | |
| 6 | use *; |
| 7 | use Cents; |
| 8 | |
| 9 | /// A revenue split record with context for CSV export. |
| 10 | |
| 11 | |
| 12 | pub id: RevenueSplitId, |
| 13 | pub recipient_id: UserId, |
| 14 | pub amount_cents: Cents, |
| 15 | pub split_percent: i16, |
| 16 | pub created_at: , |
| 17 | /// "sale" or "tip" |
| 18 | pub source_type: String, |
| 19 | /// Username of the member who receives this split |
| 20 | pub recipient_username: String, |
| 21 | |
| 22 |