package com.mini.capi.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gaoxq
 * @since 2025-08-28
 */
@Getter
@Setter
@TableName("biz_api_user")
public class ApiUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 用户编号
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private String userId;

    /**
     * 登录名称
     */
    @TableField("api_user")
    private String apiUser;

    /**
     * 登录密码
     */
    @TableField("api_pswd")
    private String apiPswd;

    /**
     * 用户名称
     */
    @TableField("uname")
    private String uname;

    /**
     * 状态
     */
    @TableField("ustatus")
    private String ustatus;

    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 租户id
     */
    @TableField("f_tenant_id")
    private String fTenantId;

    /**
     * 流程id
     */
    @TableField("f_flow_id")
    private String fFlowId;

    /**
     * 流程任务主键
     */
    @TableField("f_flow_task_id")
    private String fFlowTaskId;

    /**
     * 流程任务状态
     */
    @TableField("f_flow_state")
    private Integer fFlowState;
}
