//* 메일 첨부파일 (nodemailer attachments 로 전달)
export interface MailerAttachment {
  /** 첨부 파일명 */
  filename: string;

  /** 파일 내용 */
  content: Buffer;

  /** MIME 타입 (예: application/pdf) */
  contentType?: string;
}

export interface MailerSendDto {
  /** 발송 기업 ID (통계 메일 등 발신 주체 식별용 — 미사용 발송은 생략 가능) */
  sagId?: number;

  /** 수신인 메일주소 (콤마구분 다중 수신 가능) */
  to: string;

  /** 메일 제목 */
  subject: string;

  /** HTML 본문 */
  html: string;

  /** text 본문 */
  text: string;

  /** 첨부파일 */
  attachments?: MailerAttachment[];
}
