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

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("NODEID")
    private Double nodeid;

    @TableField("WFINSTID")
    private Double wfinstid;

    @TableField("ASSIGNID")
    private Double assignid;

    @TableField("ACTIONID")
    private Double actionid;

    @TableField("TRANSTYPE")
    private String transtype;

    @TableField("TRANSDATE")
    private Date transdate;

    @TableField("MEMO")
    private String memo;

    @TableField("NODETYPE")
    private String nodetype;

    @TableField("WFNAME")
    private String wfname;

    @TableField("WFREVISION")
    private Double wfrevision;

    @TableField("OWNERTABLE")
    private String ownertable;

    @TableField("OWNERID")
    private Double ownerid;

    @TableField("ASSIGNCODE")
    private String assigncode;

    @TableField("PRIORITY")
    private Double priority;


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

}
