package com.chinaweal.aiccs.aiccs.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作流主信息表
 * </p>
 *
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tsflowinfo")
public class TSFlowInfo extends Model<TSFlowInfo> {

    private static final long serialVersionUID=1L;

    /**
     * 流程编号
     */
    @TableId(value = "FLOWINFOID", type = IdType.ASSIGN_UUID)
    private String flowinfoid;

    /**
     * 流程英文代码
     */
    @TableField("FLOWNODE")
    private String flownode;

    /**
     * 流程名称
     */
    @TableField("FLOWNAME")
    private String flowname;

    /**
     * 地区代码
     */
    @TableField("AREA_CODE")
    private String areaCode;

    /**
     * 最后更新时间
     */
    @TableField("LAUPTIME")
    private LocalDateTime lauptime;


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

}
