Class Merchant
- Assembly
- arolariu.Backend.Domain.Invoices.dll
The invoice merchant record class represents the merchant information from the invoice. The merchant information is extracted from the invoice image using the OCR service. This record is used to store the merchant information in the database.
public sealed class Merchant : NamedEntity<Guid>, IAuditable
- Inheritance
-
Merchant
- Implements
- Inherited Members
Properties
Address
The merchant address.
[JsonPropertyOrder(4)]
public string Address { get; set; }
Property Value
Category
The merchant category.
[JsonPropertyOrder(3)]
public MerchantCategory Category { get; set; }
Property Value
ParentCompanyId
The merchant parent company.
[JsonPropertyOrder(6)]
public Guid ParentCompanyId { get; set; }
Property Value
PhoneNumber
The merchant phone number.
[JsonPropertyOrder(5)]
public string PhoneNumber { get; set; }
Property Value
ReferencedInvoices
The list of invoices that reference this merchant.
[JsonPropertyOrder(7)]
public ICollection<Guid> ReferencedInvoices { get; init; }
Property Value
id
The identity of the entity.
[JsonPropertyName("id")]
[JsonPropertyOrder(0)]
public override Guid id { get; init; }