package com.fs.qw.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 com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 企微获客链接
 * </p>
 *
 * @author zhangqin
 * @since 2025-12-03
 */
@Getter
@Setter
@TableName("qw_customer_link")
@ApiModel(value = "QwCustomerLink对象", description = "企微获客链接")
public class QwCustomerLink extends Model<QwCustomerLink> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("获客链接名称")
    @TableField("link_name")
    private String linkName;

    @ApiModelProperty("获客链接ID")
    @TableField("link_id")
    private String linkId;

    @ApiModelProperty("获客链接地址")
    @TableField("url")
    private String url;

    @ApiModelProperty("企微id")
    @TableField("corp_id")
    private String corpId;

    @ApiModelProperty("企微id")
    @TableField("corp_name")
    private String corpName;

    @ApiModelProperty("是否无需验证，默认为true")
    @TableField("skip_verify")
    private Integer skipVerify;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private Long createBy;

    @ApiModelProperty("修改人")
    @TableField("update_by")
    private Long updateBy;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否删除 1是0否")
    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private List<QwCustomerLinkUser> qwCustomerLinkUsers;


}
