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-07-21
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("WFROLE")
public class Wfrole extends Model<Wfrole> {

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("WFROLE")
    private String wfrole;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("ROLETYPE")
    private String roletype;

    @TableField("VALUE")
    private String value;

    @TableField("TABLENAME")
    private String tablename;


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

}
