package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 枚举分组表
 * </p>
 *
 * @author XKF
 * @since 2025-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ENUMGROUP")
@ApiModel(value="Enumgroup对象", description="枚举分组表")
public class Enumgroup extends Model<Enumgroup> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "枚举分组ID")
    private Long enumgroupid;

    @ApiModelProperty(value = "枚举分组名称")
    @TableField("ENUMGROUPNAME")
    private String enumgroupname;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;


    @Override
    public Serializable pkVal() {
        return this.enumgroupid;
    }

}
