preimitives.js 824 Bytes
Newer Older
1
module.exports = {
邓晓峰's avatar
邓晓峰 committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
  string: '@string',
  string_email: '@email',
  string_phone: '@phone',
  string_username: '@cname',
  string_url: '@url',
  string_uuid: '@guid',
  string_id: '@increment',
  string_status: '@status',
  string_authority: '@authority',
  string_label: '@label',
  string_group: '@group',
  string_csentence: '@csentence',
  string_cname: '@cname',
  string_name: '@last',
  string_errorCode: '@increment',
  string_country: '@country',
  string_county: '@county(true)',
  string_province: '@province',
  string_city: '@city',
  string_avatar: '@avatar',
  string_href: '@href',
  'string_string(16)': 'string(16)',
  'string_date-time': '@datetime',
  string_date: '@date',
  number: '@integer(60, 100)',
  number_float: '@float(60, 100, 3, 5)',
  integer: '@integer(60, 100)',
  boolean: '@boolean',
};