package com.cpop.oam.business.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * OAM-任务-关联员工任务组表 实体类。
 *
 * @author DB
 * @since 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "cp_oam_task_staff_group", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class TaskStaffGroup extends BaseEntity implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 任务id
     */
    private String taskId;

    /**
     * 员工id
     */
    private String staffId;

    /**
     * 绩点
     */
    private Integer gradePoint;

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

}
