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 GenderMinDataFormatStrategy implements MinDataFormatStrategy {

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