提交 9a905f3d 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

close task#7905

上级 ff0798be
title: 测试文件
desc:
author: zentao
version: 1.0
fields:
- field: uuid16
from: uuid.v1.yaml
use: length16
postfix: "\t"
- field: uuid32
from: uuid.v1.yaml
use: length32
postfix: "\t"
- field: uuid32_no_separator
from: uuid.v1.yaml
use: length32_no_separator
postfix: "\t"
- field: uuid32_random
from: uuid.v1.yaml
use: length32_random
postfix: "\t"
- field: uuid32_random_no_separator
from: uuid.v1.yaml
use: length32_random_no_separator
postfix: "\t"
title: 日期时间
desc:
author: zentao
version: 1.0
field: date
instances:
- instance: common
note: 普通
prefix:
fields:
- field: year
range: 2020
- field: month_day
from: base.time.monthday.v1.yaml
use: common
prefix: ""
postfix: "\t"
- instance: with_line
note: 下划线
prefix:
fields:
- field: year
range: 2020
postfix: "-"
- field: month_day
from: base.time.monthday.v1.yaml
use: with_line
prefix: ""
postfix: "\t"
- instance: chinese
note: 中文
prefix:
fields:
- field: year
range: 2020
postfix: "年"
- field: month_day
from: base.time.monthday.v1.yaml
use: chinese
prefix: ""
postfix: "\t"
\ No newline at end of file
title: UUID
desc: 通用唯一识别码。
author: wwccss
version: 1.0
field: ip
instances:
- instance: uuid_prefix_time
note: 模拟1-8位时间戳
fields:
- field: part1
range: 0-99999999
format: "%08d"
- instance: uuid_prefix_info1
note: 模拟9~12硬件信息
fields:
- field: part1
range: 0-9999
format: "%04d"
- instance: uuid_prefix_info2
note: 模拟13~16硬件信息
fields:
- field: part1
range: 0-9999
format: "%04d"
\ No newline at end of file
title: UUID
desc: 通用唯一识别码。
author: wwccss
version: 1.0
field: uuid
instances:
- instance: length16
note: 16位长度
mode: r
fields:
- field: part1
from: uuid.prefix.yaml
use: uuid_prefix_time
postfix: "-"
- field: part2
from: uuid.prefix.yaml
use: uuid_prefix_info1
postfix: "-"
- field: part3
from: uuid.prefix.yaml
use: uuid_prefix_info2
- instance: length32
note: 32位长度
mode: r
fields:
- field: part1
from: uuid.prefix.yaml
use: uuid_prefix_time
postfix: "-"
- field: part2
from: uuid.prefix.yaml
use: uuid_prefix_info1
postfix: "-"
- field: part3
from: uuid.prefix.yaml
use: uuid_prefix_info2
postfix: "-"
- field: part4
range: 0-9999999999999999
format: "%016d"
- instance: length32_no_separator
note: 32位随机
mode: r
fields:
- field: part1
from: uuid.prefix.yaml
use: uuid_prefix_time
- field: part2
from: uuid.prefix.yaml
use: uuid_prefix_info1
- field: part3
from: uuid.prefix.yaml
use: uuid_prefix_info2
- field: part4
range: 0-9999999999999999
format: "%016d"
- instance: length32_random
note: 32位随机
fields:
- field: part1
from: uuid.prefix.yaml
use: uuid_prefix_time
rand: true
postfix: "-"
- field: part2
from: uuid.prefix.yaml
use: uuid_prefix_info1
rand: true
postfix: "-"
- field: part3
from: uuid.prefix.yaml
use: uuid_prefix_info2
rand: true
postfix: "-"
- field: part4
range: 0-9999999999999999:R
format: "%016d"
- instance: length32_random_no_separator
note: 32位随机
fields:
- field: part1
from: uuid.prefix.yaml
use: uuid_prefix_time
rand: true
- field: part2
from: uuid.prefix.yaml
use: uuid_prefix_info1
rand: true
- field: part3
from: uuid.prefix.yaml
use: uuid_prefix_info2
rand: true
- field: part4
range: 0-9999999999999999:R
format: "%016d"
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册