package com.cpop.clockin.business.entity;

import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 员工-班次关联表 实体类。
 *
 * @author Yxz
 * @since 2024-01-23
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "员工-班次关联表对象")
@Table(value = "cp_oam_staff_classes", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class StaffClasses extends BaseEntity implements Serializable {

    @Id
    private String id;

    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id")
    private String staffId;

    /**
     * 班次id
     */
    @ApiModelProperty(value = "班次id")
    private String classId;





    /**
     * 逻辑删除（0否1是）
     */
    @ApiModelProperty(value = "逻辑删除（0否1是）")
    @Column(isLogicDelete = true)
    private Integer isDelete;

}
