package cn.wisenergy.model.app;


import com.baomidou.mybatisplus.annotation.TableField;
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.Data;

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


/**
 * Created by m1991 on 2021/2/22 15:29
 * 资讯实体类
 */

@Data
@ApiModel(value = "AccountUsers")
@TableName("shop_zx")
public class shopZx extends Model<shopZx> implements Serializable {
    private static final long serialVersionUID = 2525339404301884673L;

    /**
     * 资讯主键id
     */
    @ApiModelProperty(name = "zx_id", value = "资讯主键id")
    private Integer zxid;
    /**
     * 视频存放地址
     */
    @ApiModelProperty(name = "zx_url", value = "视频/图片存放地址")
    private String zxUrl;
    /**
     * 用户本人邀请码
     */
    @ApiModelProperty(name = "invite_code", value = "用户本人邀请码")
    private String inviteCode;
    /**
     * 获赞数
     */
    @ApiModelProperty(name = "zx_likes", value = "获赞数")
    private Integer zxLikes;

    public Integer getZxToExamine() {
        return zxToExamine;
    }

    public Integer setZxToExamine(Integer zxToExamine) {
        this.zxToExamine = zxToExamine;
        return zxToExamine;
    }

    /**
     * 审核字段
     */
    @ApiModelProperty(name = "zx_to_examine", value = "审核字段")
    private Integer zxToExamine;
    /**
     * 资讯文字输入字段
     */
    @ApiModelProperty(name = "zx_field", value = "资讯文字输入字段")
    private String zxField;

    public Integer getZxLikes() {
        return zxLikes;
    }

    public Integer setZxLikes(Integer zxLikes) {
        this.zxLikes = zxLikes;
        return zxLikes;
    }

    /**
     * 用户发布地址
     */
    @ApiModelProperty(name = "zx_address", value = "用户发布地址")
    private String zxAddress;
    /**
     * 资讯数据创建时间
     */
    @ApiModelProperty(name = "zx_date", value = "资讯数据创建时间")
    private Long zxDate;



    @TableField(exist = false)
    private List<String> askImgList;


}
