package com.muchinfo.mtp3pojos.vo.presale;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "PresaleApplyAddParam对象", description = "预售申请新增")
public class PresaleApplyAddParam {

    private Long relatedgoodsid;
    private Long relatedmarketid;

    @ApiModelProperty(value = "申请人")
    private Long userid;

    @ApiModelProperty(value = "资金账号")
    private Long accountid;

    private Integer marketid;

    @ApiModelProperty(value = "预售模式")
    private Integer presalemode;

    @ApiModelProperty(value = "申请预售数量")
    private Integer presaleqty;

    @ApiModelProperty(value = "预售价格")
    private BigDecimal refprice;

    @ApiModelProperty(value = "中签基数")
    private Integer baseqty;

    @ApiModelProperty(value = "单人最大申购量")
    private Integer maxbuyqty;

    @ApiModelProperty(value = "起拍价")
    private BigDecimal startprice;

    @ApiModelProperty(value = "低价")
    private BigDecimal floorprice;

    @ApiModelProperty(value = "预售定金方式")
    private Integer presaledepositalgorithm;
    private BigDecimal presaledepositvalue;

    @ApiModelProperty(value = "预约开始日期")
    private String starttime;

    @ApiModelProperty(value = "预约结束日期")
    private String endtime;

    @ApiModelProperty(value = "备注")
    private String applyremark;

    @ApiModelProperty(value = "Banner图(2:1)")
    private String bannerpicurl;

    @ApiModelProperty(value = "缩略图片(1:1)")
    private String attachmenturl;

    @ApiModelProperty(value = "详情图片(宽:750)")
    private String pictureurls;
}
