CompanyMemberMappingDO.java 963 Bytes
package com.subsidy.model;

import com.subsidy.util.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 公司人员映射表
 * </p>
 *
 * @author Tuyp
 * @since 2024-01-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("company_member_mapping")
public class CompanyMemberMappingDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公司id
     */
    private Long companyId;

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

    /**
     * 人员状态 1在职 0 离职
     */
    private Integer memberStatus;


    /**
     * 工号
     */
    private String workNo;

    /**
     * 入职时间
     */
    private String inductionDate;

}