package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

public class MaterialStatsDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 素材ID */
    @Excel(name = "素材ID")
    private Long materialId;

    /** 应用名称 */
    @Excel(name = "应用")
    private String appName;

    /** APP来源 */
    @Excel(name = "APP来源")
    private String appSource;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statDate;

    /** 素材标题 */
    @Excel(name = "素材标题")
    private String title;

    /** 素材标签 */
    @Excel(name = "素材标签")
    private String labels;

    /** 点击数 */
    @Excel(name = "点击数")
    private Integer clickCnt;

    /** 提交数 */
    @Excel(name = "提交数")
    private Integer submitCnt;

    /** 转化率 */
    @Excel(name = "转化率(%)")
    private Double conversionRate;

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public Long getMaterialId() { return materialId; }
    public void setMaterialId(Long materialId) { this.materialId = materialId; }

    public String getAppName() { return appName; }
    public void setAppName(String appName) { this.appName = appName; }

    public String getAppSource() { return appSource; }
    public void setAppSource(String appSource) { this.appSource = appSource; }

    public Date getStatDate() { return statDate; }
    public void setStatDate(Date statDate) { this.statDate = statDate; }

    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }

    public String getLabels() { return labels; }
    public void setLabels(String labels) { this.labels = labels; }

    public Integer getClickCnt() { return clickCnt; }
    public void setClickCnt(Integer clickCnt) { this.clickCnt = clickCnt; }

    public Integer getSubmitCnt() { return submitCnt; }
    public void setSubmitCnt(Integer submitCnt) { this.submitCnt = submitCnt; }

    public Double getConversionRate() { return conversionRate; }
    public void setConversionRate(Double conversionRate) { this.conversionRate = conversionRate; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
            .append("appName", getAppName())
            .append("appSource", getAppSource())
            .append("statDate", getStatDate())
            .append("title", getTitle())
            .append("labels", getLabels())
            .append("clickCnt", getClickCnt())
            .append("submitCnt", getSubmitCnt())
            .append("conversionRate", getConversionRate())
            .append("createTime", getCreateTime())
            .toString();
    }
}