package com.sifang.modules.supply.stock.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author hongzq
 */
@Entity
@Table(name = "crm_supply_material_warning")
public class MaterialStockWarning implements Serializable {

    private String id;

    private String materialId;

    private String type;

    private String ascriptionId;

    private String ascriptionName;

    private BigDecimal lowStockWarning;

    @Id
    @GeneratedValue(generator = "idGenerator")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    public String getId() {
        return id;
    }

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

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAscriptionId() {
        return ascriptionId;
    }

    public void setAscriptionId(String ascriptionId) {
        this.ascriptionId = ascriptionId;
    }

    public String getAscriptionName() {
        return ascriptionName;
    }

    public void setAscriptionName(String ascriptionName) {
        this.ascriptionName = ascriptionName;
    }

    public BigDecimal getLowStockWarning() {
        return lowStockWarning;
    }

    public void setLowStockWarning(BigDecimal lowStockWarning) {
        this.lowStockWarning = lowStockWarning;
    }
}
