package org.dromara.project.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 项目班组下的成员对象 bus_project_team_member
 *
 * @author lcj
 * @date 2025-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bus_project_team_member")
public class BusProjectTeamMember extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 班组id
     */
    private Long teamId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 施工人员id
     */
    private Long memberId;

    /**
     * 岗位（默认为0普通员工，1组长）
     */
    private Long postId;

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

    /**
     * 删除时间
     */
    private Date deletedAt;


}
