package com.yh.saas.plugin.yiliangyiyun.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录收购信息
 * </p>
 *
 * @author Gdc
 * @since 2021-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("acquisition_info")
public class AcquisitionInfo extends BaseModel<AcquisitionInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    private String id;
    /**
     * 公司id
     */
    private String compId;
    /**
     * 用户id
     */
    private String commonId;
    /**
     * 仓库名称
     */
    private String warehouseName;
    /**
     * 收购信息
     */
    private String acquisitionInformation;
    /**
     * 是否勾选显示复选框(0没勾选1勾选)
     */
    private String checkFlag;
    /**
     * 是否关注(0没关注1关注)
     */
    private String followFlag;
    /**
     * 信息状态标识(1已隐藏3显示中5待审核7已驳回9已通过)
     */
    private String statusFlag;
    /**
     * 信息状态
     */
    private String status;
    /**
     * 通过1驳回2
     */
    @TableField(exist = false)
    private Integer flag;
    /**
     * 是否关注
     */
    @TableField(exist = false)
    private String follow;

    /**
     * 查询市
     */
    @TableField(exist = false)
    private String city;

    /**
     * 仓库所在地省
     */
    @TableField(exist = false)
    private String warehousePrivate;
    /**
     * 仓库所在地市
     */
    @TableField(exist = false)
    private String warehouseCity;
    /**
     * 仓库所在地区
     */
    @TableField(exist = false)
    private String warehouseArea;
    /**
     * 详细地址
     */
    @TableField(exist = false)
    private String detailedAddress;

    /**
     * 当前登录人手机
     */
    @TableField(exist = false)
    private String loginPhone;
    /**
     * 模糊查询
     */
    @TableField(exist = false)
    private String searchKeyWord;
    /**
     * 仓库id
     */
    @TableField(exist = false)
    private String warehouseId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
