package com.casic.missiles.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lwh123
 * @since 2020-03-20
 */
@TableName("bus_group_well")
@Data
public class GroupWell extends Model<GroupWell> {

    private static final long serialVersionUID = 1L;

    /**
     * 组ID
     */
    @TableId("GROUP_ID")
    private Long groupId;
    /**
     * 井ID
     */
    @TableField("WELL_ID")
    private Long wellId;

    @Override
    protected Serializable pkVal() {
        return this.groupId;
    }

    @Override
    public String toString() {
        return "GroupWell{" +
        "groupId=" + groupId +
        ", wellId=" + wellId +
        "}";
    }
}
