package com.huimv.receive.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2023-08-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill_goods_inventory")
public class BillGoodsInventory implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 物资类型
     */
    private String goodsType;

    private String goodsTypeName;

    /**
     * 物资数量
     */
    private String goodsNums;

    private String goodsName;

    private String goodsUnit;

    /**
     * 申请单id
     */
    private Integer billAdmission;

    /**
     * 当前位置
     */
    private String testLocation;

    /**
     * 当前位置 id
     */
    private Integer testLocationId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

    private String farmId;

    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 departureName;

    private Integer departureId;

    private Integer passUserId;

    private String passUserName;

    private String phone;

    private String carNum;

    private String resource;

    private String feedImgUrl;

    private Integer cleanId;

    private String cleanName;

    private String remark;

    private String imgUrl;

    private Integer billStatus;

    private Integer processId;

    private String wayType;

    private Integer midId;

    private String midName;

    private String farmName;
}
