package com.sqx.modules.consortia.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description consortia
 * @author fang
 * @date 2023-02-15
 */
@Data
@ApiModel("consortia")
public class Consortia implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 商家id
     */
    private Long consortiaId;

    /**
     * 商家名称
     */
    private String consortiaName;

    /**
     * 商家公告
     */
    private String consortiaContent;

    /**
     * 头像
     */
    private String logo;

    /**
     * 身份证号码
     */
    private String identityCard;

    /**
     * 姓名
     */
    private String identityName;

    /**
     * 电话
     */
    private String phone;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 营业执照
     */
    private String businessLicense;

    /**
     * 资质证书
     */
    private String qualificationCertificate;

    /**
     * 佣金
     */
    private BigDecimal rate;

    /**
     * 商家id
     */
    private Long userId;

    private String tags;

    private String yysj;
    /**
     * 创建时间
     */
    private String createTime;

    @TableField(exist = false)
    private String userName;

    public Consortia() {}
}
