MemberDepartmentMappingDO.java 907 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 java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 老师部门映射表
 * </p>
 *
 * @author DengMin
 * @since 2021-11-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("member_department_mapping")
public class MemberDepartmentMappingDO extends BaseModel {

    private static final long serialVersionUID = 1L;

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

    /**
     * 老师id
     */
    private Long memberId;

    /**
     * 部门id
     */
    private Long departmentId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private LocalDateTime deleteTime;


}