package com.pine.admin.modules.business.entity;

        import java.math.BigDecimal;

        import com.fasterxml.jackson.annotation.JsonFormat;
        import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.Data;
        import org.springframework.format.annotation.DateTimeFormat;

        import java.io.Serializable;
import java.util.Date;

/**
 * 选配车退单表
 *
 * @author Pine
 * @email 771190883@qq.com
 * @date 2019-07-29 19:15:44
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel(value = "选配车退单表对象", description = "选配车退单表对象")
public class CarBackOrder implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id")
    private Long id;
    /**
     * 退单号
     */
    @ApiModelProperty(value = "退单号", name = "backCode")
    private String backCode;
    /**
     * 订单id 对应选配车订单表中的主键id
     */
    @ApiModelProperty(value = "订单id 对应选配车订单表中的主键id", name = "orderId")
    private Long orderId;
    /**
     * 订单号 对应选配车订单中的订单号code
     */
    @ApiModelProperty(value = "订单号 对应选配车订单中的订单号code", name = "orderCode")
    private String orderCode;
    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id", name = "customerId")
    private Long customerId;
    /**
     * 退定金额
     */
    @ApiModelProperty(value = "退定金额", name = "backPrice")
    private BigDecimal backPrice;
    /**
     * 退单状态 1 待审核 2 审核通过 3 审核不通过 4 已退款
     */
    @ApiModelProperty(value = "退单状态 1 待审核 2 审核通过 3 审核不通过 4 已退款", name = "status")
    private String status;
    /**
     * 退定原因 1 贷款审核不通过 2 车辆选配内容错误 3 地址信息填写错误 4 其他
     */
    @ApiModelProperty(value = "退定原因 1 贷款审核不通过 2 车辆选配内容错误 3 地址信息填写错误 4 其他", name = "reason")
    private String reason;
    /**
     * 收款人户名
     */
    @ApiModelProperty(value = "收款人户名", name = "name")
    private String name;
    /**
     * 收款人银行账号
     */
    @ApiModelProperty(value = "收款人银行账号", name = "account")
    private String account;
    /**
     * 银行名称
     */
    @ApiModelProperty(value = "银行名称", name = "bank")
    private String bank;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间", name = "auditTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    /**
     * 审核人
     */
    @ApiModelProperty(value = "审核人", name = "auditor")
    private String auditor;
    /**
     * 完成退定时间
     */
    @ApiModelProperty(value = "完成退定时间", name = "finishTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;
    /**
     * 经销商 退款原因 1 1.72小时内，退款  2 线上审核失败，退款  3 线下审核失败，退款 4 72小时后-线下审核前，退款 5 .线下审核后，退款 6  72小时后退款
     */
    @ApiModelProperty(value = "经销商 退款原因 1 1.72小时内，退款  2 线上审核失败，退款  3 线下审核失败，退款 4 72小时后-线下审核前，退款 5 .线下审核后，退款 6  72小时后退款", name = "dealerReason")
    private String dealerReason;

}
