"use strict";

exports.__esModule = true;
exports.getShortid = getShortid;
exports.randomContainer = randomContainer;
exports.randomField = randomField;
var shortid = require('shortid');

//uuid获取id

function getShortid() {
  var id = shortid.generate() + +new Date();
  return id;
}

//随机字段名
function randomField() {
  var str = 'field_' + shortid.generate();
  return str;
}

// 随机容器名
function randomContainer() {
  var str = 'containder_' + shortid.generate();
  return str;
}