PostMembershipPaymentDto
Type Alias: PostMembershipPaymentDto
[object Object]
Defined in: app/api/types.gen.ts:1327
Defines the DTO for posting a membership payment, containing the necessary information for creating a new membership payment, including the member ID. The PostMembershipPaymentDTO is used to transfer data from the client to the server when creating a new membership payment, ensuring that all required information is provided and validated appropriately for the creation process.
Properties
memberId?
optionalmemberId?:string
Defined in: app/api/types.gen.ts:1331
The identifier of the member who made the payment. This is a foreign key referencing the Member entity. This property is nullable because even if the member is removed from the database, we may want to keep the payment record for historical and auditing purposes. In such cases, the MemberId would be set to null to indicate that the member associated with the payment has been deleted, while still retaining the payment information for reference.