package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ServiceType对象 service_type
 *
 * @author ruoyi
 * @date 2024-02-24
 */
@Data
@TableName(value = "service_type")
@EqualsAndHashCode(callSuper = false)
public class ServiceType
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** id */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 中文名 */
    @Excel(name = "中文名")
    private String nameCn;

    /** 中文说明 */
    @Excel(name = "中文说明")
    private String illustrateCn;

    /** 越南名 */
    @Excel(name = "越南名")
    private String nameVi;

    /** 越南说明 */
    @Excel(name = "越南说明")
    private String illustrateVi;

    /** 英语名 */
    @Excel(name = "英语名")
    private String nameEn;

    /** 英文说明 */
    @Excel(name = "英文说明")
    private String illustrateEn;

    /** 繁体名 */
    @Excel(name = "繁体名")
    private String nameTw;

    /** 繁体说明 */
    @Excel(name = "繁体说明")
    private String illustrateTw;

    /** 宽度 */
    @Excel(name = "宽度")
    private Long width;

    /** 高度 */
    @Excel(name = "高度")
    private Long height;

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

    public Long getId()
    {
        return id;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setNameCn(String nameCn)
    {
        this.nameCn = nameCn;
    }

    public String getNameCn()
    {
        return nameCn;
    }
    public void setIllustrateCn(String illustrateCn)
    {
        this.illustrateCn = illustrateCn;
    }

    public String getIllustrateCn()
    {
        return illustrateCn;
    }
    public void setNameVi(String nameVi)
    {
        this.nameVi = nameVi;
    }

    public String getNameVi()
    {
        return nameVi;
    }
    public void setIllustrateVi(String illustrateVi)
    {
        this.illustrateVi = illustrateVi;
    }

    public String getIllustrateVi()
    {
        return illustrateVi;
    }
    public void setNameEn(String nameEn)
    {
        this.nameEn = nameEn;
    }

    public String getNameEn()
    {
        return nameEn;
    }
    public void setIllustrateEn(String illustrateEn)
    {
        this.illustrateEn = illustrateEn;
    }

    public String getIllustrateEn()
    {
        return illustrateEn;
    }
    public void setNameTw(String nameTw)
    {
        this.nameTw = nameTw;
    }

    public String getNameTw()
    {
        return nameTw;
    }
    public void setIllustrateTw(String illustrateTw)
    {
        this.illustrateTw = illustrateTw;
    }

    public String getIllustrateTw()
    {
        return illustrateTw;
    }
    public void setWidth(Long width)
    {
        this.width = width;
    }

    public Long getWidth()
    {
        return width;
    }
    public void setHeight(Long height)
    {
        this.height = height;
    }

    public Long getHeight()
    {
        return height;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("image", getImage())
            .append("nameCn", getNameCn())
            .append("illustrateCn", getIllustrateCn())
            .append("nameVi", getNameVi())
            .append("illustrateVi", getIllustrateVi())
            .append("nameEn", getNameEn())
            .append("illustrateEn", getIllustrateEn())
            .append("nameTw", getNameTw())
            .append("illustrateTw", getIllustrateTw())
            .append("width", getWidth())
            .append("height", getHeight())
            .toString();
    }
}
