| | |
| | | package cn.iocoder.yudao.module.erp.dal.dataobject.sale; |
| | | |
| | | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
| | | import cn.iocoder.yudao.module.erp.dal.dataobject.product.ErpProductDO; |
| | | import com.baomidou.mybatisplus.annotation.KeySequence; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | |
| | | * @author 芋道源码 |
| | | */ |
| | | @TableName("erp_sale_order_items") |
| | | @KeySequence("erp_sale_order_items_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
| | | @KeySequence("erp_sale_order_items_seq") |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | @ToString(callSuper = true) |
| | |
| | | */ |
| | | private Long orderId; |
| | | /** |
| | | * 产品编号 |
| | | * 物料编号 |
| | | * |
| | | * 关联 {@link ErpProductDO#getId()} |
| | | * 关联 {@link cn.iocoder.yudao.module.mdm.api.item.dto.MdmItemRespDTO#getId()} |
| | | */ |
| | | private Long productId; |
| | | /** |
| | | * 产品单位单位 |
| | | * 计量单位编号 |
| | | * |
| | | * 冗余 {@link ErpProductDO#getUnitId()} |
| | | * 关联 {@link cn.iocoder.yudao.module.mdm.api.unitmeasure.dto.MdmUnitMeasureRespDTO#getId()} |
| | | */ |
| | | private Long productUnitId; |
| | | |