package com.red.circle.order.infra.database.mongo.order.entity.assist;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付渠道厂商
 * </p>
 *
 * @author pengliang on 2022/10/26
 */
@Data
@Accessors(chain = true)
public class InAppPurchasePayFactory implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 厂商code
   */
  private String factoryCode;

  /**
   * 厂商名称
   */
  private String factoryName;

  /**
   * 厂商icon
   */
  private String factoryIcon;

  /**
   * 创建时间.
   */
  private Timestamp createTime;
}
