package com.xiaoniu.subsystem.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训计划关联单位管理表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-12-17 03:03:41
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("tb_project_unit")
@Schema(name = "ProjectUnit", description = "培训计划关联单位管理表")
public class ProjectUnit implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "计划单位关联ID")
    @TableId(value = "project_unit_id", type = IdType.AUTO)
    private Long projectUnitId;

    @Schema(description = "计划ID")
    private Long projectId;

    @Schema(description = "单位ID")
    private Long unitId;

    @Schema(description = "单位名称")
    private String unitName;

    @Schema(description = "人数")
    private Integer peopleNum;

    @Schema(description = "是否下发")
    private Integer status;

    @Schema(description = "创建人")
    private Long createUser;

    @Schema(description = "创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改人")
    private Long updateUser;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "是否已删除")
    private Integer isDeleted;
}
