75 lines
1.3 KiB
JSON
75 lines
1.3 KiB
JSON
{
|
|
"name": "Client",
|
|
"base": "PersistedModel",
|
|
"properties": {
|
|
"id": {
|
|
"type": "Number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"required": "true"
|
|
},
|
|
"salesPerson": {
|
|
"type": "Number",
|
|
"required": "true"
|
|
},
|
|
"fi": {
|
|
"type": "string",
|
|
"description": "Fiscal indetifier"
|
|
},
|
|
"alias": {
|
|
"type": "string"
|
|
},
|
|
"socialName": {
|
|
"type": "string"
|
|
},
|
|
"dischargeDate": {
|
|
"type": "string"
|
|
},
|
|
"contact": {
|
|
"type": "string"
|
|
},
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"phone": {
|
|
"type": "string"
|
|
},
|
|
"fax": {
|
|
"type": "string"
|
|
},
|
|
"quality": {
|
|
"type": "string"
|
|
},
|
|
"active": {
|
|
"type": "boolean"
|
|
},
|
|
"credit": {
|
|
"type": "Number"
|
|
},
|
|
"creditAndCaution": {
|
|
"type": "Number"
|
|
},
|
|
"iban": {
|
|
"type": "string"
|
|
},
|
|
"payMethod": {
|
|
"type": "string"
|
|
},
|
|
"surcharge": {
|
|
"type": "boolean",
|
|
"description": "The client has equivalence surcharge"
|
|
},
|
|
"hasToInvoice": {
|
|
"type": "boolean",
|
|
"description": "Global invoicing enabled for the client"
|
|
},
|
|
"invoiceByEmail": {
|
|
"type": "boolean",
|
|
"description": "Send invoices by email"
|
|
}
|
|
}
|
|
}
|