PurchaseSupplier.java 4.7 KB
package com.skua.modules.supplies.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 com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 采购供应商
 */
@Data
@TableName("purchase_supplier")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "purchase_supplier对象", description = "采购供应商")
public class PurchaseSupplier {

    /**
     * 注释
     */
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "注释")
    private String id;
    /**
     * 供应商编码
     */
    @Excel(name = "供应商编码", width = 15)
    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;
    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称", width = 15)
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
    /**
     * 供应商类型
     */
    @Excel(name = "供应商类型", width = 15, dicCode = "purchase_supplier_type")
    @ApiModelProperty(value = "供应商类型")
    @Dict(dicCode = "purchase_supplier_type")
    private String supplierType;
    /**
     * 供应商等级
     */
    @Excel(name = "供应商等级", width = 15, dicCode = "purchase_supplier_level")
    @ApiModelProperty(value = "供应商等级")
    @Dict(dicCode = "purchase_supplier_level")
    private String supplierLevel;
    /**
     * 主要供应品
     */
    @Excel(name = "主要供应品", width = 15)
    @ApiModelProperty(value = "主要供应品")
    private String mainSupplies;
    /**
     * 供应商联系人
     */
    @Excel(name = "供应商联系人", width = 15)
    @ApiModelProperty(value = "供应商联系人")
    private String supplierContacts;
    /**
     * 供应商联系方式
     */
    @Excel(name = "供应商联系方式", width = 15)
    @ApiModelProperty(value = "供应商联系方式")
    private String supplierContactInformation;
    /**
     * 法定代表人
     */
    @Excel(name = "法定代表人", width = 15)
    @ApiModelProperty(value = "法定代表人")
    private String supplierLegalRepresentative;
    /**
     * 注册资本
     */
    @Excel(name = "注册资本", width = 15)
    @ApiModelProperty(value = "注册资本")
    private String supplierRegisteredCapital;
    /**
     * 供应商地址
     */
    @Excel(name = "供应商地址", width = 15)
    @ApiModelProperty(value = "供应商地址")
    private String supplierAddress;
    /**
     * 供应商电话
     */
    @Excel(name = "供应商电话", width = 15)
    @ApiModelProperty(value = "供应商电话")
    private String supplierPhone;
    /**
     * 供应商传真
     */
    @Excel(name = "供应商传真", width = 15)
    @ApiModelProperty(value = "供应商传真")
    private String supplierFax;
    /**
     * 供应商邮箱
     */
    @Excel(name = "供应商邮箱", width = 15)
    @ApiModelProperty(value = "供应商邮箱")
    private String supplierMail;
    /**
     * 供应商网址
     */
    @Excel(name = "供应商网址", width = 15)
    @ApiModelProperty(value = "供应商网址")
    private String supplierWebsite;
    /**
     * 供应商简介
     */
    @Excel(name = "供应商简介", width = 15)
    @ApiModelProperty(value = "供应商简介")
    private String supplierBriefIntroduction;
    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id")
    private String createBy;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 修改人id
     */
    @ApiModelProperty(value = "修改人id")
    private String updateBy;
    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String createDept;
    /**
     * 所属公司
     */
    @ApiModelProperty(value = "所属公司")
    private String createCmpy;
    /**
     * 删除标识,0:有效,1:删除
     */
    @ApiModelProperty(value = "删除标识,0:有效,1:删除")
    private Integer delFlag;
}