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

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("ASSIGNCODE")
    private String assigncode;

    @TableField("APP")
    private String app;

    @TableField("STARTDATE")
    private Date startdate;

    @TableField("EMAILNOTIFY")
    private String emailnotify;

    @TableField("ASSIGNSTATUS")
    private String assignstatus;

    @TableField("WFINSTID")
    private Double wfinstid;

    @TableField("WFNAME")
    private String wfname;

    @TableField("WFREVISION")
    private Double wfrevision;

    @TableField("INITPERSON")
    private String initperson;

    @TableField("OWNERTABLE")
    private String ownertable;

    @TableField("OWNERID")
    private Double ownerid;

    @TableField("WFROLE")
    private String wfrole;

    @TableField("LASTMEMO")
    private String lastmemo;

    @TableField("NODEID")
    private Double nodeid;

    @TableField("TASKID")
    private Double taskid;


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

}
