package com.gyee.frame.model.ticket;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenmh
 * @since 2020-08-06
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("LABORGROUP")
public class Laborgroup extends Model<Laborgroup> {

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("GROUPNAME")
    private String groupname;

    @TableField("DESCRIPTION")
    private String description;


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

}
