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 java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenmh
 * @since 2020-07-21
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("WFINSTANCE")
public class Wfinstance extends Model<Wfinstance> {

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("WFNAME")
    private String wfname;

    @TableField("WFREVISION")
    private Double wfrevision;

    @TableField("OWNERTABLE")
    private String ownertable;

    @TableField("OWNERID")
    private Double ownerid;

    @TableField("ACTIVE")
    private String active;

    @TableField("STARTOR")
    private String startor;

    @TableField("STARTTIME")
    private Date starttime;

    @TableField("CURNODEID")
    private Double curnodeid;

    @TableField("DESCRIPTION")
    private String description;


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

}
