package com.liquidnet.service.adam.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(value = "AdamMemberOrderCodeParam", description = "使用兑换码")
@Data
public class AdamMemberOrderCodeParam implements Serializable {
    private static final long serialVersionUID = 5940725094369061032L;

    @ApiModelProperty(position = 0, required = true, value = "类型2-会员码 3-礼包码", example = "2")
    private int type;
    @ApiModelProperty(position = 1, required = true, example = "0")
    private String memberCode;
    @ApiModelProperty(position = 2, required = true, example = "0")
    private LocalDateTime birthday;

    private String ip;
    private String source;
    private String version;

}
