class UserGroupDao extends BaseDao {

    public Long insertUserGroup(UserGroup userGroup) throws SQLException {
        if (null == userGroup) {
            return 0L;
        }
        this.getDasClient().insert(userGroup, Hints.hints().setIdBack());
        return userGroup.getId();
    }

}