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

    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-25 18:38:56
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel(value = "线下支付详情对象", description = "线下支付详情对象")
public class OfflinePayments implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;
    /**
     *
     */
    @ApiModelProperty(value = "", name = "carOrderId")
    private Long carOrderId;
    /**
     * 首付状态 0 未支付 1 已支付
     */
    @ApiModelProperty(value = "首付状态 0 未支付 1 已支付", name = "downPaymentStatus")
    private String downPaymentStatus;
    /**
     * 发票地址
     */
    @ApiModelProperty(value = "发票地址", name = "invoicePath")
    private String invoicePath;
    /**
     * 支付方式  1 全款 2 贷款
     */
    @ApiModelProperty(value = "支付方式  1 全款 2 贷款", name = "paytype")
    private String paytype;
    /**
     * 尾款状态 0 未支付 1 已经支付
     */
    @ApiModelProperty(value = "尾款状态 0 未支付 1 已经支付", name = "tailStatus")
    private String tailStatus;
    /**
     * 交车证明
     */
    @ApiModelProperty(value = "交车证明", name = "deliveryPath")
    private String deliveryPath;
    /**
     * 创建时间
     */
    @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 = "updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
