{
"id": 1,
"name": "劳动合同模板",
"description": "标准劳动合同模板",
"category": "labor",
"categoryName": "劳动合同",
"content": "https://xxx.com/template.pdf",
"previewUrl": "https://xxx.com/preview/template.pdf",
"image": "https://xxx.com/thumb/template.jpg",
"isOfficial": true,
"isHot": false,
"usageCount": 100,
"variables": [
{
"key": "partyA",
"name": "甲方名称",
"type": "text",
"required": true,
"defaultValue": "string",
"placeholder": "请输入甲方名称",
"options": [
{
"label": "是",
"value": "yes"
}
],
"description": "合同甲方的公司名称"
}
],
"signatories": [
{
"id": 1,
"type": "enterprise",
"name": "甲方",
"orderNum": 1,
"needSign": true,
"specifyOnUse": true,
"companyName": "XX科技有限公司",
"realName": "张三",
"contact": "13800138000",
"fields": [
{
"id": 1,
"type": "signature",
"name": "签名",
"pageNumber": 1,
"positionX": 100.5,
"positionY": 200.5,
"width": 150,
"height": 50,
"required": true
}
]
}
],
"formFields": [
{
"id": 1,
"signatoryId": 1,
"type": "text",
"name": "姓名",
"pageNumber": 1,
"positionX": 100.5,
"positionY": 200.5,
"width": 150,
"height": 30,
"required": true,
"defaultValue": "张三",
"fontSize": 12,
"fontColor": "#333333"
}
],
"createTime": "string",
"updateTime": "string",
"baseTemplateId": 101,
"qrcodeEnabled": false
}