package com.ruoyi.system.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * SDGSAT-1 应用案例表 sys_sdgsat1_case
 * 
 * @author ruoyi
 */
public class SysSdgsat1Case extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID", cellType = ColumnType.NUMERIC)
    private Long id;

    /** 案例名称 */
    @Excel(name = "案例名称")
    private String title;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImage;

    /** 概述 */
    @Excel(name = "概述")
    private String summary;

    /** 内容（富文本） */
    @Excel(name = "内容")
    private String content;

    /** 应用领域 */
    @Excel(name = "应用领域")
    private String applicationField;

    /** 排序（数字越小越靠前） */
    @Excel(name = "排序", cellType = ColumnType.NUMERIC)
    private Integer sort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public Long getId()
    {
        return id;
    }

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

    public String getTitle()
    {
        return title;
    }

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

    public String getCoverImage()
    {
        return coverImage;
    }

    public void setCoverImage(String coverImage)
    {
        this.coverImage = coverImage;
    }

    public String getSummary()
    {
        return summary;
    }

    public void setSummary(String summary)
    {
        this.summary = summary;
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getApplicationField()
    {
        return applicationField;
    }

    public void setApplicationField(String applicationField)
    {
        this.applicationField = applicationField;
    }

    public Integer getSort()
    {
        return sort;
    }

    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("coverImage", getCoverImage())
            .append("summary", getSummary())
            .append("content", getContent())
            .append("applicationField", getApplicationField())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
