mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-01-16 03:18:40 +00:00
131 lines
4.5 KiB
JSON
Executable File
131 lines
4.5 KiB
JSON
Executable File
{
|
|
"marketing_promotion": {
|
|
"name": "marketing_promotion",
|
|
"fields": {
|
|
"marketing_promotion_id": {
|
|
"name": "marketing_promotion_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"marketing_promotion_name": {
|
|
"name": "marketing_promotion_name",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_description": {
|
|
"name": "marketing_promotion_description",
|
|
"type": "TEXT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"marketing_promotion_calendar": {
|
|
"name": "marketing_promotion_calendar",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "calendar",
|
|
"foreignKey": "calendar_id"
|
|
},
|
|
"marketing_promotion_costs": {
|
|
"name": "marketing_promotion_costs",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_budget": {
|
|
"name": "marketing_promotion_budget",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_earnings": {
|
|
"name": "marketing_promotion_earnings",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_start": {
|
|
"name": "marketing_promotion_start",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_end": {
|
|
"name": "marketing_promotion_end",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_progress": {
|
|
"name": "marketing_promotion_progress",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_progress_type": {
|
|
"name": "marketing_promotion_progress_type",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_created_at": {
|
|
"name": "marketing_promotion_created_at",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"marketing_promotion_created_by": {
|
|
"name": "marketing_promotion_created_by",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
}
|
|
}
|
|
},
|
|
"marketing_promotion_media": {
|
|
"name": "marketing_promotion_media",
|
|
"fields": {
|
|
"marketing_promotion_media_id": {
|
|
"name": "marketing_promotion_media_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"marketing_promotion_media_src": {
|
|
"name": "marketing_promotion_media_src",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "marketing_promotion",
|
|
"foreignKey": "marketing_promotion_id"
|
|
},
|
|
"marketing_promotion_media_dst": {
|
|
"name": "marketing_promotion_media_dst",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "media",
|
|
"foreignKey": "media_id"
|
|
}
|
|
}
|
|
},
|
|
"marketing_promotion_task_relation": {
|
|
"name": "marketing_promotion_task_relation",
|
|
"fields": {
|
|
"marketing_promotion_task_relation_id": {
|
|
"name": "marketing_promotion_task_relation_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"marketing_promotion_task_relation_src": {
|
|
"name": "marketing_promotion_task_relation_src",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "task",
|
|
"foreignKey": "task_id"
|
|
},
|
|
"marketing_promotion_task_relation_dst": {
|
|
"name": "marketing_promotion_task_relation_dst",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "marketing_promotion",
|
|
"foreignKey": "marketing_promotion_id"
|
|
}
|
|
}
|
|
}
|
|
} |