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("WFACTION")
public class Wfaction extends Model<Wfaction> {

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("STARTNODEID")
    private Double startnodeid;

    @TableField("ENDNODEID")
    private Double endnodeid;

    @TableField("ACTION")
    private String action;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("WFNAME")
    private String wfname;

    @TableField("WFREVISION")
    private Double wfrevision;

    @TableField("ACTIONTYPE")
    private String actiontype;

    @TableField("ACTIONSTRING")
    private String actionstring;

    @TableField("CONDITION")
    private String condition;

    @TableField("CONDITIONCLASS")
    private String conditionclass;

    @TableField("STARTPT")
    private Double startpt;

    @TableField("ENDPT")
    private Double endpt;

    @TableField("ISPOSITIVE")
    private String ispositive;

    @TableField("ACTORDERBY")
    private Double actorderby;

    @TableField("DEFAULTSEL")
    private String defaultsel;


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

}
