{
  "entity" : "POS.PosDefaultsTemplate",
  "table" : "PosDefaultsTemplate",
  "module" : "pos-app",
  "ar" : "قالب قيم افتراضيه لنقاط البيع",
  "arPlural" : " قالب قيم افتراضيه لنقاط البيع",
  "en" : "Pos Defaults Template",
  "enPlural" : " Pos Defaults Template",
  "page" : "https://dm.namasoft.com/modules/pos-app/POS.PosDefaultsTemplate.html",
  "fields" : [ {
    "id" : "code",
    "column" : "code",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "colorCode",
    "column" : "colorCode",
    "ar" : "كود اللون",
    "en" : "Color Code",
    "type" : "Text"
  }, {
    "id" : "comitBefore",
    "column" : "comitBefore",
    "type" : "Boolean"
  }, {
    "id" : "creationDate",
    "column" : "creationDate",
    "ar" : "تاريخ الإنشاء",
    "en" : "Creation Date",
    "type" : "DateAndTime"
  }, {
    "id" : "genericDims.analysisSet.code",
    "column" : "analysisSetCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.analysisSet.id",
    "column" : "analysisSetId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.branch.code",
    "column" : "branchCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.branch.id",
    "column" : "branchId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.department.code",
    "column" : "departmentCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.department.id",
    "column" : "departmentId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.legalEntity.code",
    "column" : "legalEntityCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.legalEntity.id",
    "column" : "legalEntityId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.sector.code",
    "column" : "sectorCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.sector.id",
    "column" : "sectorId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "imgDownloadLink",
    "column" : "imgDownloadLink",
    "type" : "Text"
  }, {
    "id" : "lastUpdateDate",
    "column" : "lastUpdateDate",
    "ar" : "تاريخ اخر تحديث",
    "en" : "Last update Date",
    "type" : "DateAndTime"
  }, {
    "id" : "name1",
    "column" : "name1",
    "ar" : "الاسم العربي",
    "en" : "Name1",
    "type" : "Text"
  }, {
    "id" : "name2",
    "column" : "name2",
    "ar" : "الاسم الإنجليزي",
    "en" : "Name2",
    "type" : "Text"
  }, {
    "id" : "preventUsage",
    "column" : "preventUsage",
    "ar" : "منع الاستعمال",
    "en" : "Prevent Usage",
    "type" : "Boolean"
  }, {
    "id" : "printCount",
    "column" : "printCount",
    "ar" : "عدد مرات الطباعة",
    "en" : "Print Count",
    "type" : "Integer"
  }, {
    "id" : "selected",
    "column" : "selected",
    "ar" : "اختيار",
    "en" : "Selected",
    "type" : "Boolean"
  }, {
    "id" : "writeFailures",
    "column" : "writeFailures",
    "type" : "Integer"
  } ],
  "details" : [ {
    "id" : "details",
    "table" : "PosDefaultsTemplateLine",
    "joinColumn" : "defaultsTemplate_id",
    "ar" : "التفاصيل",
    "en" : "Details",
    "fields" : [ {
      "id" : "details.dateValue",
      "column" : "dateValue",
      "ar" : "القيمة | تاريخ",
      "en" : "Value | Date",
      "type" : "DateAndTime"
    }, {
      "id" : "details.defaultsTemplate",
      "column" : "defaultsTemplate_id",
      "ar" : "قالب القيم الافتراضية",
      "en" : "Default Values Template",
      "type" : "Reference",
      "refTo" : "POS.PosDefaultsTemplate",
      "refPath" : "/modules/pos-app/POS.PosDefaultsTemplate.html"
    }, {
      "id" : "details.field",
      "column" : "field",
      "ar" : "الحقل",
      "en" : "Field",
      "type" : "Text"
    }, {
      "id" : "details.forType",
      "column" : "forType",
      "ar" : "للنوع",
      "en" : "For Type",
      "type" : "Text"
    }, {
      "id" : "details.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "details.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "details.refValueCode",
      "column" : "refValueCode",
      "type" : "Text"
    }, {
      "id" : "details.refValueId",
      "column" : "refValueId",
      "type" : "ID"
    }, {
      "id" : "details.refValueName1",
      "column" : "refValueName1",
      "type" : "Text"
    }, {
      "id" : "details.refValueName2",
      "column" : "refValueName2",
      "type" : "Text"
    }, {
      "id" : "details.refValueType",
      "column" : "refValueType",
      "type" : "Text"
    }, {
      "id" : "details.textValue",
      "column" : "textValue",
      "ar" : "القيمة | نص",
      "en" : "Value | Text",
      "type" : "Text"
    } ]
  } ]
}