package com.bcxin.ars.strategy.ministerial;



import com.abcxin.smart.validator.util.IdcardValidator;

import java.lang.reflect.Field;

/**
 *
 * 生日取身份证上的
 * @author linqinglin
 * @date 2021/03/06 0006 13:20
 */
public class BirthMinDataFormatStrategy implements MinDataFormatStrategy {

    @Override
    public String format(Field columnField, Object data) {
        return IdcardValidator.getBirth(data.toString());
    }
}
