<?php

namespace Hura8\System\Security;

class DataType
{
    const ID            = 'id';
    const EMAIL         = 'email';
    const IP_ADDRESS    = 'ip';
    const INTEGER       = 'int';
    const DOUBLE        = 'double';
    const DATE          = 'date'; // date or date-time
    const STRING        = 'plain'; // string without tags
    const PLAIN_TEXT    = 'plain'; // same as STRING type, use any, prefer PLAIN_TEXT to make it clear
    const NON_VIETNAMESE = 'non_vi'; // same as PLAIN_TEXT and without vietnamese strokes (nguyen instead of Nguyễn)
    const RICH_TEXT     = 'rich_text'; // with html tags
}
