package com.softwarebr.nunu.json.admin.user;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @date 2020-02-27 12:00:43
 * @author lilin
 */

@Data
@ApiModel
public class OrderDetailsResult {

    @ApiModelProperty(value = "id", required = true, example = "1")
    private Long id;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", required = true, example = "2018-03-12 21:32:33")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "活动id", required = true, example = "")
    private Long activityId;

    @ApiModelProperty(value = "账号", required = true, example = "")
    private String account;

    @ApiModelProperty(value = "用户id", required = true, example = "")
    private Long memberId;

    @ApiModelProperty(value = "订单号", required = true, example = "")
    private String orderNo;

    @ApiModelProperty(value = "订单数量", required = true, example = "")
    private Integer orderAmount;

    @ApiModelProperty(value = "订单总价", required = true, example = "")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "活动价格", required = true, example = "")
    private BigDecimal price;

    @ApiModelProperty(value = "活动名称", required = true, example = "")
    private String activityName;

    @ApiModelProperty(value = "活动类型", required = true, example = "")
    private String activityType;

    @ApiModelProperty(value = "活动图片", required = true, example = "")
    private String coverUri;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动开始时间", required = true, example = "")
    private LocalDateTime startDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动结束时间", required = true, example = "")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "上线人数", required = true, example = "")
    private Integer capacity;

    @ApiModelProperty(value = "活动地址", required = true, example = "")
    private String address;

    @ApiModelProperty(value = "活动简介", required = true, example = "")
    private String description;

    @ApiModelProperty(value = "退款原因", required = true, example = "")
    private String reason;

    @ApiModelProperty(value = "凭证图片", required = true, example = "")
    private List<String> voucherPictures;

}
