package com.red.circle.other.inner.model.dto.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Map;

import lombok.Data;

/**
 * 拥有的靓号id.
 *
 * @author pengliang on 2022/2/17
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class OwnSpecialIdDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 号码.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private String account;

  /**
   * 过期时间.
   */
  private Timestamp expiredTime;

  /**
   * TODO 兼容2fun客户端1.3.0 build 15 版本字符串接收问题
   * 自定义字段.
   */
//  private Map<String, String> customizeField;

}
