package com.fjhx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fjhx.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 供应商
 * </p>
 *
 * @author ${author}
 * @since 2022-08-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Supplier extends BaseEntity {


    /**
     * 供应商名称
     */
    private String name;

    /**
     * 账期/天
     */
    private Integer accountPeriod;

    /**
     * 联系人
     */
    private String contacts;

    /**
     * 联系电话
     */
    private Long phone;

    /**
     * 联系电话前缀类型
     */
    private Integer phonePrefixType;

    /**
     * 备注
     */
    private String remark;

    /**
     * 逻辑删除 0未删除 1已删除
     */
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer delFlag;


}
