{
 "actions": [],
 "allow_rename": 1,
 "autoname": "Prompt",
 "creation": "2022-01-28 20:07:37.055861",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "enabled",
  "section_break_2",
  "document_type",
  "plan_title",
  "interval",
  "column_break_5",
  "price_cny",
  "price_usd",
  "plan_level",
  "allow_downgrading_from_other_plan",
  "features_section",
  "cpu_time_per_day",
  "max_database_usage",
  "max_storage_usage",
  "column_break_13",
  "is_trial_plan",
  "offsite_backups",
  "private_benches",
  "database_access",
  "monitor_access",
  "support_included",
  "dedicated_server_plan",
  "is_jingrow_plan",
  "customization_for_bench_section",
  "release_groups",
  "allowed_apps",
  "servers",
  "cluster",
  "instance_type",
  "column_break_21",
  "vcpu",
  "memory",
  "disk",
  "roles_section",
  "roles"
 ],
 "fields": [
  {
   "default": "1",
   "fieldname": "enabled",
   "fieldtype": "Check",
   "label": "Enabled"
  },
  {
   "fieldname": "section_break_2",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "document_type",
   "fieldtype": "Link",
   "label": "Document Type",
   "options": "PageType",
   "reqd": 1
  },
  {
   "fieldname": "plan_title",
   "fieldtype": "Data",
   "label": "Plan Title"
  },
  {
   "fieldname": "interval",
   "fieldtype": "Select",
   "label": "Interval",
   "options": "Daily\nMonthly\nAnnually"
  },
  {
   "fieldname": "column_break_5",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "price_cny",
   "fieldtype": "Currency",
   "in_list_view": 1,
   "label": "Price (CNY)",
   "options": "CNY",
   "reqd": 1
  },
  {
   "fieldname": "price_usd",
   "fieldtype": "Currency",
   "in_list_view": 1,
   "label": "Price (USD)",
   "options": "USD"
  },
  {
   "depends_on": "eval:pg.document_type == 'Site'",
   "fieldname": "features_section",
   "fieldtype": "Section Break",
   "label": "Site Features"
  },
  {
   "fieldname": "cpu_time_per_day",
   "fieldtype": "Float",
   "in_list_view": 1,
   "label": "CPU Time Per Day"
  },
  {
   "fieldname": "max_database_usage",
   "fieldtype": "Int",
   "label": "Max Database Usage (MiB)"
  },
  {
   "fieldname": "max_storage_usage",
   "fieldtype": "Int",
   "label": "Max Storage Usage (MiB)"
  },
  {
   "fieldname": "column_break_13",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "is_trial_plan",
   "fieldtype": "Check",
   "label": "Is Trial Plan"
  },
  {
   "default": "0",
   "fieldname": "offsite_backups",
   "fieldtype": "Check",
   "in_list_view": 1,
   "label": "Offsite Backups"
  },
  {
   "default": "0",
   "fieldname": "private_benches",
   "fieldtype": "Check",
   "label": "Private Benches"
  },
  {
   "default": "0",
   "fieldname": "database_access",
   "fieldtype": "Check",
   "label": "Database Access"
  },
  {
   "default": "0",
   "fieldname": "monitor_access",
   "fieldtype": "Check",
   "label": "Monitor Access"
  },
  {
   "default": "0",
   "fieldname": "support_included",
   "fieldtype": "Check",
   "label": "Support Included"
  },
  {
   "default": "0",
   "fieldname": "dedicated_server_plan",
   "fieldtype": "Check",
   "label": "Dedicated Server Plan"
  },
  {
   "default": "0",
   "description": "Enterprise, Central, Jingrow Team etc",
   "fieldname": "is_jingrow_plan",
   "fieldtype": "Check",
   "label": "Is Jingrow Plan"
  },
  {
   "fieldname": "servers",
   "fieldtype": "Section Break",
   "label": "Servers"
  },
  {
   "fieldname": "cluster",
   "fieldtype": "Link",
   "label": "Cluster",
   "options": "Cluster"
  },
  {
   "fieldname": "instance_type",
   "fieldtype": "Data",
   "label": "Instance Type"
  },
  {
   "fieldname": "column_break_21",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "vcpu",
   "fieldtype": "Int",
   "label": "vCPU"
  },
  {
   "fieldname": "memory",
   "fieldtype": "Int",
   "label": "Memory"
  },
  {
   "fieldname": "disk",
   "fieldtype": "Int",
   "label": "Disk"
  },
  {
   "fieldname": "roles_section",
   "fieldtype": "Section Break",
   "label": "Roles"
  },
  {
   "fieldname": "roles",
   "fieldtype": "Table",
   "label": "Roles",
   "options": "Has Role"
  },
  {
   "description": "Leave this table empty to schedule deployment on any release group",
   "fieldname": "release_groups",
   "fieldtype": "Table",
   "label": "Release Groups",
   "options": "Site Plan Release Group"
  },
  {
   "fieldname": "customization_for_bench_section",
   "fieldtype": "Section Break",
   "label": "Customization For Bench"
  },
  {
   "description": "Leave this table empty to allow any app to install for the site",
   "fieldname": "allowed_apps",
   "fieldtype": "Table",
   "label": "Allowed Apps",
   "options": "Site Plan Allowed App"
  },
  {
   "default": "1",
   "fieldname": "allow_downgrading_from_other_plan",
   "fieldtype": "Check",
   "label": "Allow Downgrading From Other Plan"
  },
  {
   "default": "1",
   "fieldname": "plan_level",
   "fieldtype": "Select",
   "label": "Plan Level",
   "options": "1\n2\n3\n4\n5"
  }
 ],
 "index_web_pages_for_search": 1,
 "links": [],
 "modified": "2025-04-22 18:40:33.565094",
 "modified_by": "Administrator",
 "module": "Jcloud",
 "name": "Site Plan",
 "naming_rule": "Set by user",
 "owner": "Administrator",
 "pagetype": "PageType",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Jcloud Admin",
   "share": 1
  },
  {
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Jcloud Member",
   "share": 1
  }
 ],
 "quick_entry": 1,
 "row_format": "Dynamic",
 "sort_field": "price_usd",
 "sort_order": "ASC",
 "states": [],
 "title_field": "plan_title",
 "track_changes": 1
}