a486127ade
- Add SalesInvoiceTspSwitchService to manage TSP provider selection and sending invoices. - Introduce SalesInvoiceTspService for creating, sending, and retrieving sales invoices. - Implement NamaProviderSwitchAdapter for communication with the NAMA TSP provider API. - Define DTOs for request and response structures specific to the NAMA provider. - Enhance error handling and logging for TSP provider interactions.
15 lines
374 B
Plaintext
15 lines
374 B
Plaintext
model Guild {
|
|
id String @id @default(ulid())
|
|
name String
|
|
invoice_template InvoiceTemplateType
|
|
code String?
|
|
|
|
created_at DateTime @default(now()) @db.Timestamp(0)
|
|
updated_at DateTime @updatedAt() @db.Timestamp(0)
|
|
|
|
business_activities BusinessActivity[]
|
|
good_categories GoodCategory[]
|
|
|
|
@@map("guilds")
|
|
}
|