65 lines
1.2 KiB
Java
65 lines
1.2 KiB
Java
package com.ruoyi.system.domain;
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
/**
|
|
* bomaterial对象 material_bom
|
|
*
|
|
* @author tzy
|
|
* @date 2024-11-08
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@TableName("material_bom")
|
|
public class MaterialBom extends BaseEntity {
|
|
|
|
private static final long serialVersionUID=1L;
|
|
|
|
/**
|
|
* 序号
|
|
*/
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Long id;
|
|
/**
|
|
* 项目令号
|
|
*/
|
|
private String projectNumber;
|
|
/**
|
|
* 物料编码
|
|
*/
|
|
private String materialCode;
|
|
/**
|
|
* 物料名称
|
|
*/
|
|
private String materialName;
|
|
/**
|
|
* 用量
|
|
*/
|
|
private String quantity;
|
|
/**
|
|
* 单位
|
|
*/
|
|
private String unit;
|
|
/**
|
|
* 材质
|
|
*/
|
|
private String materialType;
|
|
/**
|
|
* 父级物料编码
|
|
*/
|
|
private String parentMaterialCode;
|
|
/**
|
|
* 父级物料名称
|
|
*/
|
|
private String parentMaterialName;
|
|
/**
|
|
* 库存
|
|
*/
|
|
private Double stock;
|
|
}
|