package cn.iocoder.yudao.module.inspection.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.module.inspection.entity.InspectionStepInfo;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class InspectionInfoVo {
    private Long InspectionId;
    /** 检查工名称 */
    private String workerName;
    /** 检查工手机号 */
    private String workerPhone;
    private String workerAvatar;
    private Long categoryId;
    private String carNum;
    /** 0不通过1通过 */
    private String isPass;
    /** 0进行中1已结束 */
    private String status;
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String remark;
    private String buyUserName;
    private String buyUserPhone;

    @TableField(exist = false)
    private String buyName;

    /** 检查工手机号 */
    @TableField(exist = false)
    private String buyPhone;

    /** 检查工手机号 */
    @TableField(exist = false)
    private String goodsName;
    private String goodsImage;

    /** 检查工手机号 */
    @TableField(exist = false)
    private Long realPayMoney;
    /** 订单号 */
    @TableField(exist = false)
    private String orderNo;
    @TableField(exist = false)
    private Long goodsId;

    @TableField(exist = false)
    private Long goodsPrice;

    // 核销时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date validationTime;
    // 核销人
    private String validationRealName;
    //优惠金额
    private Long couponDiscount = 0L;
    //实付金额 分
    private Long payMoney;
    private String payType;
    private String receivablesAccount;
    private String payRemark;
    //会员折扣的金额
    private Long reduceMoney = 0L;
    private Long balance = 0L;
    private List<InspectionStepInfo> stepInfos = new ArrayList<>();
    private String carType;
    //线上或者线下 1线上 0线下
    private String isOnline;
    //是否重审 0否 1是
    private String isRetrial;
    //是否制证并完成 1完成
    private String makeCert;
    private String orderStatus;
}
