/**
 * DeleteBlogCommand
 * Blog törlési command
 */
export class DeleteBlogCommand {
  constructor(id, requesterId) {
    this.id = id;
    this.requesterId = requesterId; // Ki kéri a törlést (authorization-höz kell)
  }

  validate() {
    const errors = [];
    
    if (!this.id) {
      errors.push('Blog ID is required');
    }
    
    if (!this.requesterId) {
      errors.push('Requester ID is required');
    }
    
    return {
      isValid: errors.length === 0,
      errors
    };
  }
}
