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;
import java.util.Date;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "PresaleQueryResult对象", description = "预售管理查询响应")
public class PresaleQueryResult {

    @ApiModelProperty(value = "申请单号")
    private String applyid;

    @ApiModelProperty(value = "申请人")
    private String username;

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

    @ApiModelProperty(value = "申请时间")
    private Date createtime;

    @ApiModelProperty(value = "订单商品")
    private String relatedgoodscode;

    @ApiModelProperty(value = "预售商品")
    private String goodscode;

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

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

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

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

    @ApiModelProperty(value = "商品状态")
    private Integer goodsstatus;

    @ApiModelProperty(value = "预售状态")
    private Integer presalestatus;

    private Integer lotteryflag;

    private Integer luckyqty;

    private Integer qty;

    private Long userid;

    private BigDecimal refprice;

    private Integer baseqty;
}
