package cn.iocoder.yudao.module.mdm.dal.dataobject.category;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
/**
|
* MDM 物料分类 DO
|
*
|
* @author 芋道源码
|
*/
|
@TableName("mdm_item_category")
|
@KeySequence("mdm_item_category_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MdmItemCategoryDO extends BaseDO {
|
|
/**
|
* 分类编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 父分类编号(根节点=0)
|
*/
|
private Long parentId;
|
|
/**
|
* 分类编码
|
*/
|
private String code;
|
|
/**
|
* 分类名称
|
*/
|
private String name;
|
|
/**
|
* 适用物料类型
|
*
|
* 1: 物料
|
* 2: 产品
|
* 3: 半成品
|
* NULL: 全部
|
*/
|
private Integer itemType;
|
|
/**
|
* 物料/产品标识(兼容MES: ITEM/PRODUCT)
|
*/
|
private String itemOrProduct;
|
|
/**
|
* 排序
|
*/
|
private Integer sort;
|
|
/**
|
* 状态
|
*
|
* 枚举 {@link cn.iocoder.yudao.framework.common.enums.CommonStatusEnum}
|
*/
|
private Integer status;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|