package com.jwipc.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 采购品类表
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-04
 */
@Getter
@Setter
@TableName("t_purchase_category")
public class PurchaseCategory implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 1：正常2：禁用
     */
    private Integer status;

    /**
     * 一级采购编码
     */
    private String firstLevelPurchaseCode;

    /**
     * 一级采购名称
     */
    private String firstLevelPurchaseName;

    /**
     * 二级采购编码
     */
    private String secondLevelPurchaseCode;

    /**
     * 二级采购名称
     */
    private String secondLevelPurchaseName;

    /**
     * 创建日期
     */
    private LocalDateTime createTime;

    /**
     * 创建人id
     */
    private Integer createUserId;

    /**
     * 创建人名称
     */
    private String createUserName;
}
