package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 会员风采表\资讯来源表
 * </p>
 *
 * @author XKF
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("GZ_MEMBERINFO")
@ApiModel(value="GzMemberinfo对象", description="会员风采表资讯来源表")
@KeySequence(value = "SEQ_GZ_MEMBERINFO")
public class GzMemberinfo extends Model<GzMemberinfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会员ID(SEQ_GZ_MEMBERINFO)")
    @TableId(value = "MEMBERID", type = IdType.INPUT)
    private Long memberid;

    @ApiModelProperty(value = "会员名称来源名称")
    @TableField("MEMBERNAME")
    private String membername;

    @ApiModelProperty(value = "联系人")
    @TableField("CONTACTNAME")
    private String contactname;

    @ApiModelProperty(value = "电话")
    @TableField("CONTACTPHONE")
    private String contactphone;

    @ApiModelProperty(value = "微信号")
    @TableField("CONTACTWX")
    private String contactwx;

    @ApiModelProperty(value = "标签(逗号分隔)来源网址")
    @TableField("MEMBERTAGS")
    private String membertags;

    @ApiModelProperty(value = "图片地址来源LOGO")
    @TableField("IMAGEURL")
    private String imageurl;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATETIME")
    private Date updatetime;

    @ApiModelProperty(value = "显示顺序")
    @TableField("ORDERINDEX")
    private Integer orderindex;


    @Override
    public Serializable pkVal() {
        return this.memberid;
    }

}
