package com.kuang.utils;

import java.sql.Timestamp;
import java.util.Date;
import java.util.UUID;

public class KuangUtils {

    static boolean printFlag = true;

    public static String getUuid(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    public static Timestamp getTime(){
        return new Timestamp(new Date().getTime());
    }

    public static void print(String msg){
        if (printFlag){
            System.out.println("kuangshen:=>"+msg);
        }
    }

}
