package org.dromara.project.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
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
 *
 * @author lcj
 * @date 2025-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bus_project_team")
public class BusProjectTeam extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 班组名称
     */
    private String teamName;

    /**
     * 范围内打卡（0范围内打卡 1任何地点打卡）默认为1
     */
    private String isClockIn;

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

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

    /**
     * 是否删除（0正常 1删除）
     */
    @TableLogic
    private Long isDelete;


}
