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-01-29
 */
@Getter
@Setter
@TableName("sp_user_purchase_group")
public class UserPurchaseGroup implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 系统用户表ID
     */
    private Long userId;

    /**
     * 采购组ID
     */
    private Long purchaseGroupId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 是否删除 0未删除 1删除
     */
    private Integer isDeleted;

    private Long createId;

    /**
     * 1 表示优先使用
     */
    private Integer mark;
}
