package org.jeecg.modules.material.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;

import java.util.Date;

/**
 * @author mazhanliang
 */
@Data
@TableName("v_material_usage")
public class BuMaterialUsage {
    private String materialId;
    private String materialName;
    private String specifaction;
    @Dict(dicCode = "general_unit")
    private Integer unit;
    private Double quantity;
    @TableField(exist = false)
    private Integer usageCount;
    private Date alterTime;
}
