package com.dk.mdm.model.query.mst;



import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.dk.common.infrastructure.annotaiton.ExportTitle;
import com.dk.common.infrastructure.handler.*;
import com.dk.common.model.pojo.PageInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.fastjson.JSONObject;

import java.util.List;
import java.time.LocalDateTime;

    /**
     *  供应商
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @EqualsAndHashCode(callSuper = true)
    @Accessors(chain = true)
    @ExportTitle("供应商")
    @TableName(value = "t_mst_supplier", autoResultMap = true,schema = "dkic_b")
    @ApiModel(value="实体类：供应商", description="表名：t_mst_supplier")
    public class SupplierQuery extends PageInfo<SupplierQuery> implements Serializable {

        /*
         * 数据库字段
         */

        /**
         * 供应商ID
         */
        @TableId(value = "sup_id", type = IdType.AUTO)
        @ApiModelProperty(value = "供应商ID")
        @TableField(typeHandler = UuidTypeHandler.class)
        private String supId;


        /**
         * 供应商编号
         */
        @Excel(name = "供应商编号")
        @ApiModelProperty(value = "供应商编号")
        private String supCode;


        /**
         * 供应商名称
         */
        @Excel(name = "供应商名称")
        @ApiModelProperty(value = "供应商名称")
        private String supName;


        /**
         * 供应商类别 (【系统字典】)
         */
        @Excel(name = "供应商类别 (【系统字典】)")
        @ApiModelProperty(value = "供应商类别 (【系统字典】)")
        private String supType;


        /**
         * 联系人
         */
        @Excel(name = "联系人")
        @ApiModelProperty(value = "联系人")
        private String contactName;


        /**
         * 联系电话
         */
        @Excel(name = "联系电话")
        @ApiModelProperty(value = "联系电话")
        private String contactPhone;


        /**
         * 组织部门
         */
        @Excel(name = "组织部门")
        @ApiModelProperty(value = "组织部门")
        @TableField(typeHandler = UuidTypeHandler.class)
        private String orgId;


        /**
         * 业务员
         */
        @Excel(name = "业务员")
        @ApiModelProperty(value = "业务员")
        @TableField(typeHandler = UuidTypeHandler.class)
        private String staffId;


        /**
         * 服务类别 (【系统字典】)
         */
        @Excel(name = "服务类别 (【系统字典】)")
        @ApiModelProperty(value = "服务类别 (【系统字典】)")
        @TableField(typeHandler = StringListTypeHandler.class)
        private List<String> serviceCategories;


        /**
         * @desc   : 有效标识List
         * @author : songy
         * @date   : 2024/3/2 9:31
         */
        @Excel(name = "有效标识 (1：正常 0：停用)")
        @ApiModelProperty(value = "有效标识 (1：正常 0：停用)")
        private List<Boolean> flgValidList;

        /**
         * 备注
         */
        @Excel(name = "备注")
        @ApiModelProperty(value = "备注")
        private String remarks;


        /**
         * 有效标识 (1：正常 0：停用)
         */
        @Excel(name = "有效标识 (1：正常 0：停用)")
        @ApiModelProperty(value = "有效标识 (1：正常 0：停用)")
        private Boolean flgValid;

        private String searchText;
        /**
         * 企业ID
         */
        @Excel(name = "企业ID")
        @ApiModelProperty(value = "企业ID")
        private Integer cpId;



        @TableField(exist = false)
        @ApiModelProperty(value = "退货地址")
        private String returnAddress;






        private static final long serialVersionUID = 1L;

    }
