Building Attachment and Image for BufferUnderflow#
Modeling Attachment and Image#
Imagine trying to describe a UI issue without using images. In many cases text alone is not enough to clearly explain a problem. That's where attachments come in: attachments are files that can be attached to a question or answer to enhance their content.
Answers and questions can have multiple attachments, and an attachment can be reused across various answers and questions. The diagram below highlights the
Attachment interface and its relationship to the other entities in our program: