package com.jwipc.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 采购组工厂关系表
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-02
 */
@Getter
@Setter
@TableName("t_purchase_group_factory")
public class PurchaseGroupFactory implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 工厂编码
     */
    private String factoryCode;

    /**
     * 工厂名称
     */
    private String factoryName;

    /**
     * 物料组编码
     */
    private String materialGroupCode;

    /**
     * 物料组名称
     */
    private String materialGroupName;

    /**
     * 采购组编码
     */
    private String purchaseGroupCode;

    /**
     * 采购组名称
     */
    private String purchaseGroupName;

    private LocalDateTime createTime;

    /**
     * 0:未删除 1：以删除
     */
    private Integer deleteFlag;
}
