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.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户密码表
 * </p>
 *
 * @author gaoxq
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("biz_ssh_user")
public class SshUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableId(value = "user_id", type = IdType.AUTO)
    private String userId;

    /**
     * 系统/应用/网站名称
     */
    @TableField("sys_name")
    private String sysName;

    /**
     * 登录账号
     */
    @TableField("c_username")
    private String cUsername;

    /**
     * 登录密码
     */
    @TableField("c_password")
    private String cPassword;

    /**
     * 访问地址
     */
    @TableField("c_url")
    private String cUrl;

    /**
     * 关联的主键
     */
    @TableField("host_id")
    private String hostId;

    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

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