package com.zg.project.information.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zg.framework.aspectj.lang.annotation.Excel;
import com.zg.framework.web.domain.BaseEntity;

/**
 * 物料字典对象 mtd
 * 
 * @author zg
 * @date 2025-07-31
 */
public class Mtd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long Id;

    /** 物料号 */
    @Excel(name = "物料号")
    private String mid;

    /** 物料描述 */
    @Excel(name = "物料描述")
    private String desMat;

    /** 物料组 */
    @Excel(name = "物料组")
    private String grp;

    /** 单位 */
    @Excel(name = "单位")
    private String unt;

    /** 单价 */
    @Excel(name = "单价")
    private String uprc;

    /** $column.columnComment */
    @Excel(name = "大类")
    private String btpe;

    /** $column.columnComment */
    @Excel(name = "中类")
    private String mtpe;

    /** $column.columnComment */
    @Excel(name = "小类")
    private String stpe;

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

    public Long getId() 
    {
        return Id;
    }

    public void setMid(String mid) 
    {
        this.mid = mid;
    }

    public String getMid() 
    {
        return mid;
    }

    public void setDesMat(String desMat) 
    {
        this.desMat = desMat;
    }

    public String getDesMat() 
    {
        return desMat;
    }

    public void setGrp(String grp) 
    {
        this.grp = grp;
    }

    public String getGrp() 
    {
        return grp;
    }

    public void setUnt(String unt) 
    {
        this.unt = unt;
    }

    public String getUnt() 
    {
        return unt;
    }

    public void setUprc(String uprc) 
    {
        this.uprc = uprc;
    }

    public String getUprc() 
    {
        return uprc;
    }

    public void setBtpe(String btpe) 
    {
        this.btpe = btpe;
    }

    public String getBtpe() 
    {
        return btpe;
    }

    public void setMtpe(String mtpe) 
    {
        this.mtpe = mtpe;
    }

    public String getMtpe() 
    {
        return mtpe;
    }

    public void setStpe(String stpe) 
    {
        this.stpe = stpe;
    }

    public String getStpe() 
    {
        return stpe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("mid", getMid())
            .append("desMat", getDesMat())
            .append("grp", getGrp())
            .append("unt", getUnt())
            .append("uprc", getUprc())
            .append("btpe", getBtpe())
            .append("mtpe", getMtpe())
            .append("stpe", getStpe())
            .toString();
    }
}
