package com.red.circle.order.inner.model.dto;

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

/**
 * <p>
 * 开通支付应用
 * </p>
 *
 * @author pengliang
 * @since 2021-11-29
 */
@Data
@Accessors(chain = true)
public class SysPayApplicationDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 唯一标识符
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 应用名称
   */
  @NotNull
  private String appName;

  /**
   * 应用code
   */
  @NotNull
  private String appCode;

  /**
   * Android下载链接
   */
  private String androidLink;

  /**
   * iOS下载链接
   */
  private String iosLink;

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


}
