package com.huimv.receive.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 洗消表
 * </p>
 *
 * @author author
 * @since 2024-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill_sampling")
public class BillSampling implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 来访类型 0人员  1环保车 2拉猪车 3饲料车  4送猪车 5物资车  6送餐
     */
    private Integer vistitType;

    /**
     * 目的地
     */
    private String destName;

    /**
     * 目的地 id
     */
    private Integer destId;

    /**
     * 申请人
     */
    private String admissionUserName;

    /**
     * 申请人id
     */
    private Integer admissionUserId;

    /**
     * 来访时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    private LocalDateTime vistitDate;

    /**
     * 提交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    private LocalDateTime subDate;

    private String farmId;

    /**
     * 当前状态 0待审批 1合格  2异常
     */
    private Integer billStatus;

    /**
     * 处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    private LocalDateTime passDate;

    /**
     * 处理人
     */
    private String passUserName;

    /**
     * 处理人id
     */
    private Integer passUserId;

    /**
     * 进程id
     */
    private Integer processId;

    /**
     * 检测时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    private LocalDateTime checkDate;

    /**
     * 检测地点
     */
    private String testLocation;

    private Integer testLocationId;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 车牌号
     */
    private String carNum;

    /**
     * 视频地址
     */
    private String imgUrl;

    /**
     * 0待上传 1已上传
     */
    private Integer imgStatus;

    private String departureName;

    private Integer departureId;

    private String resource;

    private String feedImgUrl;

    private Integer cleanId;

    private String cleanName;

    private String remark;

    /*
     * 0没有 1有
     */
    private Integer isCarry;

    /*
     * 物品照片地址
     */
    private String picUrl;

    private Integer midId;

    private String midName;
    private String farmName;
}
