package com.chinaweal.aiccs.org.entity;

import com.baomidou.mybatisplus.annotation.IdType;
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;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lee
 * @since 2021-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_usermenu")
public class TUsermenu extends Model<TUsermenu> {

    private static final long serialVersionUID=1L;

    @TableId(value = "userMenuID", type = IdType.ASSIGN_UUID)
    private String userMenuID;

    @TableField("userID")
    private String userID;

    @TableField("sysMenuID")
    private String sysMenuID;

    @TableField("menuStatus")
    private String menuStatus;

    @TableField("allotStatus")
    private String allotStatus;


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

}
