package com.hzya.frame.mdm.entity;


import com.hzya.frame.mdm.mdmModuleDb.entity.MdmModuleDbEntity;
import com.hzya.frame.mdm.mdmModuleDbFiledsRule.entity.MdmModuleDbFiledsRuleEntity;
import com.hzya.frame.mdm.mdmTableCodeRule.entity.MdmTableCodeRuleEntity;

import java.util.List;

public class MdmDto {

    //主数据编码
    private Long mdmCode;
    //单据编码规则
    private List<MdmTableCodeRuleEntity> mdmTableCodeRuleEntityList;
    //字段规则
    private List<MdmModuleDbFiledsRuleEntity> mdmModuleDbFiledsRuleEntities;
    //主数据主表
    private MdmModuleDbEntity mainMdmModuleDb;
    //主数据子表
    private List<MdmModuleDbEntity> sublistMdmModuleDb;


    //id
    private String id;
    //id
    private String fieldId;
    //id
    private String dbId;
    //3、新增4、修改 5、查看
    private String showType;
    //分页
    private Integer pageNum;
    private Integer pageSize;
    /**
     * 显示字段
     */
    private String viewFiled;
    /**
     * 上级id字段
     */
    private String upIdFiled;
    //主数据名称
    private String mdmName;
    //主数据类型
    private String mdmType;
    //描述
    private String remark;
    //描述
    private String[] ids;

    private String tableName;
    private String value;

    private String label;
    private String lableValue;

    private String upId;

    public Long getMdmCode() {
        return mdmCode;
    }

    public void setMdmCode(Long mdmCode) {
        this.mdmCode = mdmCode;
    }

    public List<MdmTableCodeRuleEntity> getMdmTableCodeRuleEntityList() {
        return mdmTableCodeRuleEntityList;
    }

    public void setMdmTableCodeRuleEntityList(List<MdmTableCodeRuleEntity> mdmTableCodeRuleEntityList) {
        this.mdmTableCodeRuleEntityList = mdmTableCodeRuleEntityList;
    }

    public MdmModuleDbEntity getMainMdmModuleDb() {
        return mainMdmModuleDb;
    }

    public void setMainMdmModuleDb(MdmModuleDbEntity mainMdmModuleDb) {
        this.mainMdmModuleDb = mainMdmModuleDb;
    }

    public List<MdmModuleDbEntity> getSublistMdmModuleDb() {
        return sublistMdmModuleDb;
    }

    public void setSublistMdmModuleDb(List<MdmModuleDbEntity> sublistMdmModuleDb) {
        this.sublistMdmModuleDb = sublistMdmModuleDb;
    }

    public String getId() {
        return id;
    }

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

    public String getShowType() {
        return showType;
    }

    public void setShowType(String showType) {
        this.showType = showType;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getViewFiled() {
        return viewFiled;
    }

    public void setViewFiled(String viewFiled) {
        this.viewFiled = viewFiled;
    }

    public String getUpIdFiled() {
        return upIdFiled;
    }

    public void setUpIdFiled(String upIdFiled) {
        this.upIdFiled = upIdFiled;
    }

    public String getMdmName() {
        return mdmName;
    }

    public void setMdmName(String mdmName) {
        this.mdmName = mdmName;
    }

    public String getMdmType() {
        return mdmType;
    }

    public void setMdmType(String mdmType) {
        this.mdmType = mdmType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLableValue() {
        return lableValue;
    }

    public void setLableValue(String lableValue) {
        this.lableValue = lableValue;
    }

    public String getUpId() {
        return upId;
    }

    public void setUpId(String upId) {
        this.upId = upId;
    }

    public List<MdmModuleDbFiledsRuleEntity> getMdmModuleDbFiledsRuleEntities() {
        return mdmModuleDbFiledsRuleEntities;
    }

    public void setMdmModuleDbFiledsRuleEntities(List<MdmModuleDbFiledsRuleEntity> mdmModuleDbFiledsRuleEntities) {
        this.mdmModuleDbFiledsRuleEntities = mdmModuleDbFiledsRuleEntities;
    }

    public String getFieldId() {
        return fieldId;
    }

    public void setFieldId(String fieldId) {
        this.fieldId = fieldId;
    }

    public String getDbId() {
        return dbId;
    }

    public void setDbId(String dbId) {
        this.dbId = dbId;
    }
}

