How to model Thumbnails?

Posted 6 months ago by joshuajazleung

Say I have a Video model. A video has one main thumbnail, and many other thumbnails. What's the suggested way to model thumbnails? Should I create the following model classes?

  • Video
  • MainThumb
  • SideThumb

or just

  • Video
  • Thumb and the Thumb model has an attribute to indicate whether it's a main thumb?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.