interface iCopyrightFile {
  id: number;
  user_id: number;
  name: string;
  bucket: string;
  url: string;
  etag: string;
  size: number;
  mime_type: string;
  hash_code: string;
  image_info_abbreviation: string;
  image_info_format: string;
  business_type: number;
}

type iPostFile = Partial<Omit<iCopyrightFile, "url">> &
  Pick<iCopyrightFile, "url">;

export interface iAuth {
  id: number;
  authentication_id: number;
  authentication_name: string;
  authentication_subject_nature: number;
  authentication_subject_nature_code: string;
  authentication_province: string;
  authentication_city: string;
  authentication_district: string;
  authentication_business_license: iPostFile;
  authentication_certificate_of_authorization_image: iPostFile;
  authentication_held_front_id_card: iPostFile;
  authentication_held_back_id_card: iPostFile;
  authentication_certificate_of_authorization_date: string;
  contact_person: string;
  contact_email: string;
  contact_mobile: string;
  contact_telephone: string;
  contact_post_code: string;
  contact_fax: string;
  contact_address: string;
  authentication_status: string;
  create_time: number;
  update_time: number;
}
