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

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("WFNAME")
    private String wfname;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("ENABLED")
    private String enabled;

    @TableField("WFREVISION")
    private Double wfrevision;

    @TableField("CHANGEBY")
    private String changeby;

    @TableField("CHANGEDATE")
    private Date changedate;

    @TableField("TABLENAME")
    private String tablename;

    @TableField("ACTIVE")
    private String active;

    @TableField("AUTOINIT")
    private String autoinit;

    @TableField("APP")
    private String app;

    @TableField("WFINSTDESC")
    private String wfinstdesc;


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

}
