package com.softwarebr.nunu.json.api.order;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 退款
 * @author lilin
 * @date 2020-03-13 10:16:00
 */
@Data
@ApiModel
public class RefundInfoResult {

    @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 orderId;

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

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

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

    @ApiModelProperty(value = "凭证图片", required = true, example = "")
    private String voucherPicture;

    @ApiModelProperty(value = "审核状态(1待审核 2审核通过 3审核不通过)", required = true, example = "")
    private Integer verify;

    @ApiModelProperty(value = "审核备注", required = true, example = "")
    private String verifyRemark;


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

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

    @ApiModelProperty(value = "封面图", required = true, example = "")
    private String coverUri;

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

    @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 String orderNo;

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

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